in reply to Re: Establishing SSH tunnel and opening another SSH connection through it
in thread Establishing SSH tunnel and opening another SSH connection through it
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...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Establishing SSH tunnel and opening another SSH connection through it
by salva (Canon) on Feb 08, 2012 at 07:37 UTC | |
by tehcook (Initiate) on Feb 08, 2012 at 23:29 UTC | |
by tehcook (Initiate) on Feb 09, 2012 at 00:08 UTC | |
by tehcook (Initiate) on Feb 09, 2012 at 01:03 UTC | |
by salva (Canon) on Feb 09, 2012 at 08:37 UTC | |
by tehcook (Initiate) on Feb 09, 2012 at 19:47 UTC |