LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 02-13-2005, 04:18 AM   #1
goose240
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 thecomputer.iwant.com
OpenSSH_3.9p1, OpenSSL 0.9.7e 25 Oct 2004
debug2: ssh_connect: needpriv 0
debug1: Connecting to moe.recommind.com [192.168.2.62] 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 mycomputer.com is unknown.

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

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

Rep: Reputation: 31
Does ssh work If you are sitting at thecomputer.iwant.com? 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, 06:18 PM   #4
angrybeaver
Member
 
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, 05:14 AM   #5
goose240
LQ Newbie
 
Registered: Feb 2005
Distribution: Mandrake
Posts: 3

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

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


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


All times are GMT -5. The time now is 06:55 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration