http://qs1969.pair.com?node_id=169191


in reply to Net::SSH::Perl gotcha!

"... but if you don't supply it the username of the user executing the program is used..." Is your username the same locally and remotely?

Though, by my limited understanding of the SSH protocol, that shouldn't make exactly that difference; it should at least go through the next few steps of the connection before failing, if that is the problem. Hmm.

Replies are listed 'Best First'.
Re: Re: Net::SSH::Perl gotcha!
by zengargoyle (Deacon) on May 24, 2002 at 19:48 UTC

    yes, same user local and remote. it took *hours and hours* to realize that $ssh->login('realme','realpass') wasn't doing the password authentication thing, but that a non-null password was needed for RSA authentication to work.