LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 03: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, 03:30 AM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
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, 04: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, 04:52 AM   #4
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
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



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 35 10-23-2017 12:21 AM
Create directory on remote host using ssh bloodstreetboy Linux - Server 4 04-03-2013 08:16 AM
ssh can not connect remote host crazy6 Linux - Newbie 2 03-04-2011 07:28 PM
Fedora 10/unable to ssh out from box to remote host (SSH within LAN ok) huskeypm Linux - Networking 3 04-14-2009 07:37 PM
how 2 connect 2 remote host using SSH fhameed Linux - Networking 2 09-08-2004 08:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:41 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
Open Source Consulting | Domain Registration