Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 07-26-2004, 08:15 AM   #1
Registered: Jun 2004
Location: NJ, US (Ex UK)
Distribution: RHEL3.0 / FC2
Posts: 79

Rep: Reputation: 15
ssh will not connect

Hi All,

I have 2 linux servers running on my LAN at home. I can connect to one externally, and to get to the other, I use ssh (on the recommendation of someone here) and it wroked really well.

I haven't done it in a while, and I went to do this last night, and received the following:

Connection to closed by remote host.
Connection to closed.

If I use an incorrect password, I get permission denied, so I know the password is correct. I have tried various users on each end to no avail...

Any ideas?


Old 07-26-2004, 08:35 AM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 250Reputation: 250Reputation: 250
And is this after you apparently login that it closes the connection? Have you tried restarting the ssh daemon?
Old 07-26-2004, 09:17 AM   #3
Registered: Jun 2004
Location: NJ, US (Ex UK)
Distribution: RHEL3.0 / FC2
Posts: 79

Original Poster
Rep: Reputation: 15
When I do a ps -ef | grep ssh on the machine I telnet to, I get the followng:

root 5218 1 0 Jun29 ? 00:00:03 /usr/sbin/sshd
applmgr 2130 2105 0 Jul02 ? 00:00:06 /usr/bin/ssh-agent /etc/X11/xini
root 16062 5218 0 08:03 ? 00:00:00 sshd: applmgr [priv]
applmgr 16074 16062 0 08:03 ? 00:00:00 sshd: applmgr@pts/2
root 23923 5218 0 09:23 ? 00:00:00 sshd: applmgr [priv]
applmgr 23928 23923 0 09:24 ? 00:00:00 sshd: applmgr@pts/3
applmgr 23966 23929 0 09:24 pts/3 00:00:00 grep ssh

Which means I thnk it is up on that machine. Unfortunately, I am in Wisconsin, and the client machines are in NJ, so I can't check the other!



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
cannot connect to x serverr in ssh YellowFin Linux - Networking 2 03-23-2005 01:29 PM
X connect using ssh suguname Linux - Networking 5 03-06-2005 03:54 AM
SSH Won't allow me to connect predator.hawk Slackware 16 11-09-2004 01:53 PM
how to connect to the same xterm with ssh(?) ?? realos Linux - Networking 5 01-17-2003 10:11 AM
Can't connect via ssh _TK_ Linux - Networking 3 04-27-2001 07:16 PM > Forums > Linux Forums > Linux - Newbie

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

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