Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://169191]
help
Chatterbox?
[Discipulus]: sometimes the client dies for extra content </chatter><span class="error" style="color: #cc0000">Server Error (Error ID 9162
[Discipulus]: the span is considered extra content by the parser
[Corion]: Mhmm - that would be some internal error, but I can't look into that right now as I don't have access to the logs from here ;)
[Discipulus]: ah, but it can be skipped by the client (?)
[Corion]: I think so, but I wonder what error might be there...
[Discipulus]: raining in germany? ;=)

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (12)
As of 2017-07-25 08:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (366 votes). Check out past polls.