Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re: Net::SSH::Perl gotcha!

by premchai21 (Curate)
on May 24, 2002 at 19:20 UTC ( #169191=note: print w/replies, xml ) Need Help??

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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://169191]
and the monastery is silent...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2017-05-27 11:27 GMT
Find Nodes?
    Voting Booth?