Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

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.

Comment on Re: Net::SSH::Perl gotcha!
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 web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2016-05-01 00:32 GMT
Find Nodes?
    Voting Booth?
    :nehw tseb si esrever ni gnitirW

    Results (441 votes). Check out past polls.