in reply to Re^10: Net::OpenSSH help needed
in thread Net::OpenSSH help needed
During the authentication stage it accepts any password as valid but then once the connection is established, when a new channel is open and a command send it replies with a "invalid password" error and then asks for a new one.
You will have to experiment yourself in order to find a workaround for that.
Maybe you could run a dummy command with Expect in order to detect the bad-password state once the session is established. See how to integrate Net::OpenSSH and Expect here.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^12: Net::OpenSSH help needed
by Andy16 (Acolyte) on Jul 31, 2013 at 10:27 UTC |