PS M4110 command output ssh

Hello world

I've encountered a weird problem our PS M4110 of storage. When I ssh into the management console and a command (for example: pool see the default selection), it returns a correct output - information on the default pool. However, when I send the same command as part of the ssh command (for example: ssh [email protected] "hen see the default selection"), - after a successful authentication -, I get the message ' unsupported command: pool see the default selection.

I use ssh it very long with all kinds of devices, and what's more, I have a vague memory that actually used to work even with this particular case. Someone has an idea of what could be a problem?

Thank you very much

Stanislav

Hello

When you connect as grpadmin, you are in a group CLI program.  This is not the same thing you are trying to execute commands via SSH.  Orders are not passed IN the CLI program.

If you want to run commands, download the Scripting Host tools since EQL support site.  You select the Firmware version that you are running.  You can use the current version of the same family.  That is, if you run 7.1.0 you can select Package 7.1.x version.  You can find a link for the Scripting Host for Linux and Windows tools.   These have all the files you need to use PERL or Python to script on the chart commands.  There are examples of included scripts.  I prefer PYTHON PERL for how its text handling and better support for SSH.  PERL seems to do better through TELNET which I do not use. Installation of PYTHON PARAMIKO makes it transparent.

If you install the HIT / ME software that includes also all the PowerShell cmdlets, you need.

Kind regards

Don

Tags: Dell Tech

Similar Questions

  • Running commands via SSH

    Hello

    I'm trying to use VCO SSH plugin to run certain commands on my host.
    Connection works fine and orders such as availability, hostname work too.
    What I want to do is to run the command mkdir create some folders, but it still fails (IE mkdir \vswp\volumes\myvol\mydir)

    What I ultimately want to achieve is to clone the disks with vmkfstools

    Any thoughts?

    If you try to create folders on linux/ESXi, please note that you should not use ' \ ' but ' / '.

    I.e. mkdir/mnt/NewFolder

  • Can not get the result of the command output to a text file...

    Hello

    I tried to get a list of my virtual machines (using PowerCLI) with CBT (block change tracking) enabled, and while the following command returns the results, I can't have it at the output to a text file. Any help you can offer would be appreciated.

    foreach ($vm in get - vm) {write-host $vm; get-advancedsetting - entity $vm | select-string - pattern 'ctkEnabled' | sort; write-host | out-file c:\somepath\file.txt}

    I get the correct result on screen, but the text file is empty.

    Please notify.

    Thank you

    Hello, wmilligan2013-

    You can get the information to an output file by removing the Write-Host calls.  How to do:

    Get-VM | Get-AdvancedSetting -Name *ctkEnabled* | Sort-Object Entity,Name |    Select Entity,Name,Value,Type | Export-Csv -NoTypeInformation -UseCulture c:\temp\advSettingInfo.csv
    

    Which will be, for any virtual computer that has a * ctkEnabled * advanced configuration, parameter information advanced output for such virtual machine to the CSV file in the appropriate location.  It relies on the ability to Get-AdvancedSetting to accept the VM objects as the value to - entity from the pipeline (so the foreach statement is not necessary) and used the - param Name of this cmdlet, avoiding any disorder Select-String.  I used Export-Csv to the output method so that you can easily consume these data later if you need to act on these data or even manipulate it.

    How does do for you?

  • Date command output, what field?

    I would like to recover the date user successfully perform the Release command, that the field in which column should I take?

    Of course, you could - I just ran a quick check on a sample of 10,000 maritime rows and I saw only difference of a few seconds between the date of creating lots of collection and the date of creation of command-line removal except in about 5 cases where he ran in minutes. But I think you're right - linking on wdd.move_order_line_id = mvl.line_id is probably better. However, be aware that your SQL will be less effective than the mtl_txn_request_lines is a large table.

  • Help decyphring the log_archive_dest_state for the parameter show command output

    Version: 11g
    O/S: RHAT

    SQL > show parameter log_archive_dest_state

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    allow the chain of log_archive_dest_state_1
    allow the chain of log_archive_dest_state_10
    allow the chain of LOG_ARCHIVE_DEST_STATE_2
    allow the chain of log_archive_dest_state_3
    allow the chain of log_archive_dest_state_4
    allow the chain of log_archive_dest_state_5
    allow the chain of log_archive_dest_state_6
    allow the chain of log_archive_dest_state_7
    allow the chain of log_archive_dest_state_8
    allow the chain of log_archive_dest_state_9


    Q, made the above indicates that I have 10 different locations where the recovery logs archived are stored?
    Q How can I know which physical directories these parameters point to?

    Thanks in advance

    Rogers

    You can have the redo log archived files in between 0 & 10 locations; inclusive.

  • How to automate the SSH connection/commands on a series of switches PowerConnect 3400 3500 and 6200 series.

    I'm trying to find a way to automate the commands to send a series of switches (about 20) showing some configs and save the output to a file. The way I was trying to do was using plink and creation of a batch of files for her.

    Essentially, it would be something similar to the following.

    ECHO

    for /f % in (devices.txt) plink % l word of PAST of USERNAME-pw-v - m C:\Batch\commands.txt > output.txt

    To split the above command, looking for my ips in the devices.txt and made a "plink pw - username PASSWORD - v IP-l m - COMMANDS > OUTPUT" for each. The problem, I'm running is that the switches do not accept logins, they constantly ask for the user and the password again. Even when you try to put them in the commands.txt he will not accept the entry. I googled using plink with dell switches but there is nothing to talk about this problem.

    So my question is, is it possible to automate this sort of thing in a batch file? Or some way to automate a series of commands to a switch via SSH? I'm just not wan't do manually connect to each of them, carry out my orders, out, reconnect and repeat. I did it on cisco switches so I thought the process would be similar but I don't understand what obstacle I'm running in here. Ideally, I'd like to see how to do this via SSH but at this point, I am ready to accept almost any alternative (secure) to automate the sending of orders for my switches.

    I hope that all makes sense.

    Sorry, I haven't used before plink, so I'm not sure what to change to get this to work. In the past, there was another Member of the community who has been able to use expect to establish connections to switches and save configs.

    Linux.Die.net/.../expect

    It may be somewhat more than installation, but you can be able to make it work for your needs.

    http://Dell.to/1RONL3D

    Let us know

  • questions to run ssh commands on hp OA

    Hello

    I have problems to run ssh commands on HP onboard administrator, I get the following error:

    Unable to run the command: InternalError: SSH_MSG_DISCONNECT: 2 too many failures of administrator authentication (Workflow: run SSH command / command run SSH (item6) #20) (Workflow: run SSH command / run command SSH (item6) #36)

    Some of you you have the same? any ideas?

    Thank you

    I just migrated from vRo 6 to 7, and it solved the problem.

    Thanks a lot for your help.

  • SSH command orchestrator using SSH plugin

    I generated the pair of keys and also saved the public key on the host by using workflows in the SSH plugin. Now when I try to run a ssh command in the workflow, I see the following error:

    "Cannot run the command InternalError: SSH_MSG_DISCONNECT: 2 too many failures for root authentication (order workflow: run SSH / Execute SSH Command (item6) #16) (Workflow: run SSH command / Execute SSH Command (item6) #33).

    In addition, the session is created and I am able to see the session ID.

    Please help me solve this problem.

    Resolved-

    After a lot of trial and error, I found the solution.

    Generated SSH keys should be 1024 key size and the user name with which the keys are saved on the host can be used only to run commands as well.

  • Essbase output of command to a file

    Hello
    I just want my Essbase command output to a file. e.g. list all groups/users.
    I used commnad of output, but do not get the desired results.

    Can someone help me on this... I know.. It would be faster...

    Kind regards
    REDA

    to export the user from a group using esscmd

    groupname listgroupusers

    To output result, use command below

    OUTPUT 1 C:\userinfo.xls

    For the existing

    exit 3

    Kind regards
    Marie rosine

  • 5324 SSH running but not asking not password and not running through my firewall

    I picked up a Dell Powerconnect 5324 off ebay and wiped the configs, updated the firmware and got it mostly set up for what are my needs but I don't know why good SSH than active and working locally on the same subnet as the ip of the vlan has the following two issues:

    1 SSH works but only ask "open as:" then "user name:" and never will prompt you for the password. It just goes straight to an enable command prompt

    2. I can't work through my firewall DNAT. It's not critical, but I removed the access list that I had just to test and still no go.

    Here is my config:

    interface port-channel 1
    Description Fiber4GE
    FlowControl auto
    output
    interface port-channel 2
    Description Copper2GE
    FlowControl auto
    output
    interface port-channel 1
    switchport mode trunk
    output
    interface port-channel 2
    switchport mode trunk
    output
    serial interface ethernet g(19-20)
    switchport mode trunk
    output
    database of VLAN
    VLAN 96,172,192
    output
    interface ethernet g1
    switchport access vlan 96
    output
    Beach port-channel interface (1 - 2).
    switchport trunk allowed vlan add 96
    output
    Beach port-channel interface (1 - 2).
    switchport trunk allowed vlan add 172
    output
    serial interface ethernet g(2-18)
    switchport access vlan 192
    output
    Beach port-channel interface (1 - 2).
    switchport trunk allowed vlan add 192
    output
    interface ethernet g1
    switchport forbidden vlan add 192
    output
    interface vlan 96
    name Comcast
    output
    interface vlan 172
    name iSCSI-SAN
    output
    interface vlan 192
    network name
    output
    serial interface ethernet g(19-20)
    Auto mode channel-group 2
    output
    serial interface ethernet g(21-24)
    Auto mode channel-group 1
    output
    interface vlan 192
    192.168.1.251 IP address 255.255.255.0
    output
    line console
    exec-timeout 20
    output
    ssh line
    exec-timeout 20
    output
    ssh line
    password * redacted * encrypted
    output
    line console
    password * redacted * encrypted
    output
    enable level 15 password * redacted * encrypted
    username admin password * redacted * encrypted
    password username davery * redacted * level encrypted 15
    property intellectual ssh server
    The https server IP
    clock timezone-8
    customer SNTP enable vlan 192
    clock source sntp
    unicast SNTP client enable
    unicast SNTP client survey
    survey of SNTP server 192.168.1.1
    IP - local.dom domain name

    I think I see what is missing, we must add this command so that he can ask for the password.

    Console (config) # aaa authentication login default line

    Console (config) # line ssh

    default authentication logon console(config-Line) #.

    Let me know if it works

  • Authentication of SSH without password on a PIX

    I'm looking to implement authentication SSH without password for a Solaris client can run a script to open a session on a PIX and retrieve the configuration.

    Someone has reached the SSH authentication without password on a PIX or find out if the device supports it or not?

    Thank you, Dom

    It is vaguely correct.

    Here are the details:

    Security506E - 6.x (config) # aaa HS

    AAA proxy-limit 16

    authentication AAA ssh console LOCAL SecurityACS1111

    Console HTTP authentication of the AAA SecurityACS1111 LOCAL

    Console Telnet AAA authentication LOCAL SecurityACS1111

    Console to enable AAA authentication LOCAL SecurityACS1111

    LOCAL AAA authorization command

    now, if you have configured aaa on the pix and specified an aaa for the role of authentication server when ssh is done "'authentication aaa ssh console LOCAL SecurityACS1111'...". then the username and passwords of the Ali database should be provided when ssh is done.

    If you have specified LOCAL as an authentication method, then the database username and password configured in the configuration of the firewall will be used for the purposes of authentication.

    If you have not specified "ssh" under "sh aaa" command output, then the default settings are used.

    dafault settings:

    username: pix

    telnet password: password you have defined with the command:

    password

    activate the password:

    password, you have defined using:

    activate the password

    Please indicate if this help!

    Sushil

    Cisco tac.

  • How to enable ssh on ASA 5525

    Can I know how to set up remote to access the ASA 5525 via ssh

    I gave the following commands

    SSH 10.60.0.0 255.255.0.0 outside

    SSH 10.60.0.0 255.255.0.0 dmz

    SSH 10.60.0.0 255.255.0.0 inside

    SSH timeout 5

    but I am not able to access the ASA via ssh. I have to add any other command

    you need a public/private key pair:

    ASA (config) # crypto key generate rsa key general module 2048

    a user name:

    ASA (config) # username, password testuser testpass

    and the system needs to know where are your useraccounts:

    ASA (config) # aaa authentication ssh LOCAL console

    Edit: And not leaving SSHv2:

    ASA (config) # ssh version 2

    --
    Don't stop once you have upgraded your network! Improve the world by lending money to low-income workers:
    http://www.Kiva.org/invitedBy/karsteni

  • Ssh server key probe check

    Hello

    I would like to know a reproducible method to check the key of a sensor SSH server from a windows client. I usually use my ssh client like putty, but tried 2 others in this pursuit.

    On the sensor, you can use the command 'show ssh server-key' to display the key in its raw format (decimal), but also a MD5 and Bubble Babble fingerprints.

    When you connect with PuTTY for the first time, PuTTY shows you a fingerprint, which I suppose is MD5 because it is 128 bits in hexadecimal. But which does not match the footprint of 128 bit hex MD5 shown via command line of the probe.

    I tried a 2nd client who gave an imprint babble, but even once, does not match the footprint of chatter that makes the line of command of the probe.

    I tried a 3rd customer who shows the MD5 and chatter of fingerprints. These fingerprints match those displayed by the other SSH clients and of course, then no not match what the sensor showed.

    Finally, I tried to watch the complete key stored by these clients to host files or the windows registry, to compare with the full key indicated by the line of command IDS. All 3 clients display the key in hexadecimal format, while the sensor displays in decimal format. I can't find a hex to decimal calculator that can handle 1024 bits of an input value!

    So if I have to accept blindly to the key the first time my SSH client connects to a Cisco IPS sensor, I am of course open to a man in the middle attack initially connect. I can do some checks warm & fuzzy (connect from the subnet of the probe & check my ARP cache entry MAC address is correct, etc.), but it seems that these fingerprints must be verifiable directly.

    Thank you

    KEP

    This is the kind of a hack which may help.

    Once you connect as a service account that you can SSH to the ip address of loopback of the probe.

    "ssh-2 127.0.0.1."

    -bash - 2.05 b$ ssh-2 127.0.0.1

    Could not establish the authenticity of host ' 127.0.0.1 (127.0.0.1).

    Of the key DSA is 2 c: 76:a2:b3:67:e2:cb:46:8 d: ee: 3B: 41:92:ac:61:19.

    Are you sure you want to continue connecting (yes/no)?

    The service account to connect through the ip address of loopback of the probe, so there almost know possibility of a man in the middle attack.

    (The only way to spoil it would be for the attacker to have a complete control sensor and charge its own program of SSH server on the sensor)

    The "-2" specifies to use a LDAP version 2 client.

    Now the big question will be the hexagonal footprint seen in the above question can be used to compare the information provided by your SSH client?

    Let me know if this weird method still does not work for you.

    I sent an email to our main engineer of SSH to see if there is a better method.

  • Access PIX using SSH when connected remotely with VPN client

    Hello

    I think that this should be a fairly simple for someone to sort for me - I'm new to PIX configuration If Yes please excuse my stupidity!

    I changed the config on our PIX to allow only access via SSH (rather than via telnet as it was previously configured)

    Now, everything works fine when I'm in the office - I can connect to the PIX using SSH without any problem.

    However, if I work from home and connect to the office using my VPN client (IPSEC tunnel ends on the PIX firewall itself) I find that I can not connect to the PIX.

    I have configured the PIX to access ssh on the office LAN subnet and the client pool of IP addresses used for VPN connections by using the following commands:

    SSH 172.64.10.0 255.255.255.0 inside

    SSH 192.28.161.0 255.255.255.0 inside

    where the 1st line is reference to the office's LAN, which works very well, and the 2nd line denotes the IP address pool configured on the PIX for VPN access.

    Can someone tell me how to fix this? I have the feeling that its something pressing!

    Thank you

    Neil

    Try the command "management-access to the Interior.

  • Interactive command

    I wrote a very simple script today... Basically, the idea is to use the command cli_run_interactive to EEM cli library extensions. According to this document

    http://www.Cisco.com/en/us/docs/iOS-XML/iOS/EEM/configuration/XE-3SE/5700/EEM-CLI-library-Tcl.PDF

    I have to use the: cisco::eem: namespace, I did. Then, again in the same paper I found the command cli_run_interactive which is exactly what I have to, run a command, watch for a predefined command output and respond to this topic, once again in a way predefined. Pretty simple. The script below:

    : cisco::eem:event_register_none maxrun 36

    import namespace: cisco::eem: *.

    import namespace: cisco::lib: *.

    Set the 'clear line' 46 cmd1

    cmd1_exp1 value {[confirm]}

    Set cmd1_rep1 {y}

    Set cmd1_response [list [list wait answer $cmd1_exp1 $cmd1_rep1]]

    the value of clist [list "$cmd1 order $cmd1_response answers"]

    cli_run_interactive {clist}

    So far, so good, I save the script:

    Runn terminal #show | s event handler

    Event Manager user Directorystrategie flash: /.

    user of type event manager strategy run_interactive.tcl

    The #show event handler registered terminal strategy

    N ° class Type Event Type trap time registered name

    user 1 script no Off 8 Tue Oct 17:19:04 2013 run_interactive.tcl

    PolicyName {run_interactive.tcl}

    Nice 0 priority queue normal 36,000 maxrun

    But then, when I try to run the script:

    Terminal #event Manager run run_interactive.tcl

    Name of the command terminal #invalid "cli_run_interactive".

    When running

    "cli_run_interactive {clist}.

    called inside

    "$slave $Contents eval.

    (procedure "eval_script" line 7)

    called inside

    "eval_script slave $scriptname.

    called inside

    "If {$security_level == 1} {#untrusted script.

    create an interp - slave

    Interp share {stdin slave

    Interp share {} stdout slave

    ..."

    (file "system:/lib/tcl/base.tcl" line 50)

    Run political MCI failed: invalid command name "cli_run_interactive".

    It seems to me that I missed a statement somewhere along the way, but I don't know where and what exactly... Any help is appreciated...

    When I wrote the function, the syntax is:

    cmd1 'first order' Set

    the value of cmd [list 'send' $cmd1 'answers' [list ['wait' list {[confirm]} 'reply' 'y']]

    Table game sendexp $cmd

    cli_run_interactive [list [array get sendexp]]

Maybe you are looking for

  • Won't boot NB205 - black screen and white flashing underscore

    My toshiba nb205 won't start...Its shows a black screen with flashing white underscore in the top left... What should I do?The operating system is bad? Bad hard drive?Bad motherboard? Please help thanks guys.

  • Satellite P305-S8920 wifi not connecting, Vista 64-bit

    Hello I have a Satellite P305-S8920 running Windows Vista Home Premium 64-bit. My problem is that my laptop does not connect to my home wireless network.Whenever I try to connect, I get an error saying that my phone does not meet the requirements of

  • Satellite C870 - 1 K 1 and replacing hard drive

    Hello I would like to replace the hard drive of wonderful this notebook with a hard disk of 500 GB 750.How should I proceed with the Windows installed on the original hard drive, the migration to the new.I do not have a CD ROM of Windows 8, was not i

  • PCI Simple Communications Controller driver for HP-Compaq dc5800 SFF

    In the device, other devices shows yellow exclamation with PCI Simple Communications Controller Manager. I found a few references to care packs, but none that really meet this model and the OS which is Windows 7 Enterprise 32-bit Edition. If you sele

  • RE6500: no connection after the router main stop or restart (WPA related?)

    Hello! I can not get my RE6500 to reconnect after a router main reboot or power failure, even if I restart the expander control. I have to open a session and revalidate the basic settings. However, when I connect the expander control for my android p