LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   SSH closes connection before login (https://www.linuxquestions.org/questions/linux-networking-3/ssh-closes-connection-before-login-289562/)

goose240 02-13-2005 03:18 AM

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

pe2338 02-13-2005 06:50 AM

Quote:

identity file /home/Administrator/.ssh/id_dsa type -1
probably your host accepts only type -2 DSA

fsbooks 02-13-2005 06:57 AM

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.

angrybeaver 02-13-2005 05:18 PM

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.

goose240 02-14-2005 04:14 AM

Yes i can ssh mycomputer.com and 127.0.0.1 But that's it i can't ssh from any other computer


All times are GMT -5. The time now is 12:21 AM.