LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-13-2013, 04:07 AM   #1
sn0rcha
LQ Newbie
 
Registered: May 2013
Posts: 2

Rep: Reputation: Disabled
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
 
Old 05-13-2013, 04:30 AM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
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
Cheers,

Evo2.
 
Old 05-13-2013, 05:48 AM   #3
sn0rcha
LQ Newbie
 
Registered: May 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
Turns out I had a conflict with my router port, doh!
 
Old 05-13-2013, 05:52 AM   #4
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,
Quote:
Originally Posted by sn0rcha View Post
Turns out I had a conflict with my router port, doh!
Ok. Glad it is working now. If this problem is really solved, please use the thread tools to mark it as such.

Cheers,

Evo2.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't SSH to remote machine: Connection closed by remote host Avatar Linux - Networking 34 05-24-2013 10:28 AM
Create directory on remote host using ssh bloodstreetboy Linux - Server 4 04-03-2013 09:16 AM
ssh can not connect remote host crazy6 Linux - Newbie 2 03-04-2011 08:28 PM
Fedora 10/unable to ssh out from box to remote host (SSH within LAN ok) huskeypm Linux - Networking 3 04-14-2009 08:37 PM
how 2 connect 2 remote host using SSH fhameed Linux - Networking 2 09-08-2004 09:42 PM


All times are GMT -5. The time now is 01:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration