SSH to remote host
Hey guys,
I'm having a strange problem where I can't SSH into one of my servers from another. I'm using the format: ssh "username@host" I can log into the server in question just fine using Putty from my windows computer, but whenever I try and ssh from another linux server to it, it always says incorrect password even when using the correct password. Does anyone know why this would happen? Many thanks, Sn0rcha |
Hi,
there are a number of things that could cause this. To find out what is going on run your ssh client with verbose output turned on (ssh -vvv), and also look at the sshd output in the logfile (if you have permission to read it). Where sshd logs is distro specific, but on Debian derived systems you can look in /var/log/auth.log. If you don't have permission to read that log, you can try starting a separate sshd instance in debug mode on a high numbered port, and then try to ssh to that. Eg Code:
/usr/sbin/sshd -d -p 6666 Evo2. |
Turns out I had a conflict with my router port, doh!
|
Hi,
Quote:
Cheers, Evo2. |
All times are GMT -5. The time now is 02:52 AM. |