in reply to Net::OpenSSH help needed
It sounds like you're actually getting logged in successfully. Try adding these lines to the bottom of your script (assuming the remote device logs you into a *nix shell):
my @ls = $ssh->capture("ls"); print @ls;
You should see the remote directory listing if you are successfully connecting.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Net::OpenSSH help needed
by Andy16 (Acolyte) on Jul 30, 2013 at 11:07 UTC |