Re: problem with ssh -> authentication failed
- From: Brian Candler <b.candler@xxxxxxxxx>
- Date: Mon, 10 Nov 2008 08:46:18 -0500
c:/ruby/lib/ruby/gems/1.8/gems/net-ssh-2.0.4/lib/net/ssh.rb:195:in...
`start': Net::SSH::AuthenticationFailed
Any suggestions what's wrong ??
I apologise for stating the obvious, but it looks like a wrong username
and/or password. Or it could be that there is something else at the
server side which is rejecting the connection, e.g. it's possible to
configure ssh accounts so they only accept connections from a particular
IP address, or so that they can only run certain commands (not shells).
Looking at sshd logs on the far side could help to determine the
problem. Even better, try running sshd in debug mode, bound to a
different port:
# sshd -d -p 99
This will stay in the foreground without forking, and show you the
processing of incoming connections. Add :port=>99 to your client of
course.
--
Posted via http://www.ruby-forum.com/.
.
- References:
- problem with ssh -> authentication failed
- From: Ice Man
- problem with ssh -> authentication failed
- Prev by Date: Re: Moving large amount of files, 1.750.000+
- Next by Date: Re: how to find self class name inside self difinition ?
- Previous by thread: problem with ssh -> authentication failed
- Next by thread: Problem with object methods?
- Index(es):
Relevant Pages
|