Reply
Occasional Contributor II

Error for Plink

Anyone successfully using Plink for automated SSH access to the controllers? Here is my script line:


plink.exe -ssh username@aruba1 -pw xxxxxxx commandhere

Here's the output:

Looking up host "aruba1"
Connecting to aruba1 port 22
Server version: SSH-2.0-OpenSSH_4.6
We claim version: SSH-2.0-PuTTY_Release_0.60
Using SSH protocol version 2
Doing Diffie-Hellman group exchange
Doing Diffie-Hellman key exchange with hash SHA-256
Host key fingerprint is:
ssh-rsa 2048 xxxxxxxxxxxxxx
Initialised AES-256 SDCTR client->server encryption
Initialised HMAC-SHA1 client->server MAC algorithm
Initialised AES-256 SDCTR server->client encryption
Initialised HMAC-SHA1 server->client MAC algorithm
Using username "username".
Sent password
Access granted
Opened channel for session
Started a shell/command
Server sent command exit status 1
Disconnected: All channels closed


For anything else, cisco, linux systems, etc, it works fine, but I get the exit status 1 code everytime I try with the Aruba's. The syslog says this as well: error: channel 0: chan_read_failed for istate 3 on_exit: exiting with code 0\n
Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: