Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 02-13-2005, 03:18 AM   #1
LQ Newbie
Registered: Feb 2005
Distribution: Mandrake
Posts: 3

Rep: Reputation: 0
SSH closes connection before login

Im Very Very new to LINUX and Networking. I have some basic understandings of networking.

here is the debugging info

Whyen i try to connect from inside the LAN I get this:

$ ssh -vv
OpenSSH_3.9p1, OpenSSL 0.9.7e 25 Oct 2004
debug2: ssh_connect: needpriv 0
debug1: Connecting to [] port 22
debug1: Connection established.
debug1: identity file /home/Administrator/.ssh/identity type -
debug1: identity file /home/Administrator/.ssh/id_rsa type -1
debug1: identity file /home/Administrator/.ssh/id_dsa type -1
ssh_exchange_identification: Connection closed by remote host

Im not sure how to go about troubleshooting. I freshly installed Mandrake 10.1

There is a DNS and a VPN on the network along with other comps.

When i try to connect from outside i get the host is unknown.

If you can help ThanK you SO MUCH
Old 02-13-2005, 06:50 AM   #2
Registered: Dec 2002
Location: Bucharest,RO
Distribution: debian etch, sarge and sid
Posts: 407

Rep: Reputation: 30
identity file /home/Administrator/.ssh/id_dsa type -1
probably your host accepts only type -2 DSA
Old 02-13-2005, 06:57 AM   #3
Registered: Jan 2002
Location: Missoula. Montana, USA
Distribution: Slackware (various)
Posts: 451

Rep: Reputation: 32
Does ssh work If you are sitting at In other words, will it connect to itself? If not, it will narrow the problem, if so, you can check on the protocol.
Old 02-13-2005, 05:18 PM   #4
Registered: Aug 2004
Location: .au
Distribution: debian, BSD
Posts: 104

Rep: Reputation: 16
might be a reverse lookup issue also - check that VerifyReverseMapping is set to 'no', or if it's set to 'yes', that a reverse lookup on your LAN ip returns the correct hostname.
Old 02-14-2005, 04:14 AM   #5
LQ Newbie
Registered: Feb 2005
Distribution: Mandrake
Posts: 3

Original Poster
Rep: Reputation: 0
Yes i can ssh and But that's it i can't ssh from any other computer

Last edited by goose240; 02-16-2005 at 01:51 PM.


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
qmail prematurely closes connection when trying to telnet... ivj Linux - Software 0 07-25-2004 04:47 AM
ssh server is closing the connection just after successful login puru_09 Linux - Security 3 04-03-2004 12:42 AM
why ssh server is closing the connection just after successful login puru_09 Linux - Networking 0 03-30-2004 12:25 AM
ls command closes sftp connection SpecialK5106 Linux - Networking 4 11-03-2003 02:18 AM
Mozilla closes connection - no error report! CloudBuilder Red Hat 0 10-25-2003 03:11 PM

All times are GMT -5. The time now is 03:48 AM.

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