From the top of your head - do you know why would Net::OpenSSH->new() hang forever after getting "Permission denied, please try again." ?
Also I found that some characters in the passwords have to be escaped. Like @ and !. Otherwise it does not even get that "Permission denied, please try again." error. I'm not sure if I did escape ! the right way. May be that contributes to that hanging problem I am having.
I've tried $Net::OpenSSH::debug and all I see is :
Last line repeats indefinitelyPermission denied, please try again. # file object not yet found at ....
The problem I'm stuck with is : first I'm trying public key auth which fails because there is no key yet. Then I try ssh with password and get "Permission denied". But new call never returns...
In reply to Re^2: Establishing SSH tunnel and opening another SSH connection through it
by tehcook
in thread Establishing SSH tunnel and opening another SSH connection through it
by tehcook
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |