I have compiled the latest version to test out, installed into /opt so as not to break my old version, and have not been able to log in, I am trying to ssh into the local machine... rmarshall at Sam:/opt/bin$ ./ssh sam -v OpenSSH_4.3p2, OpenSSL 0.9.7g 11 Apr 2005 debug1: Reading configuration data /opt/etc/ssh/ssh_config debug1: Connecting to sam [127.0.0.1] port 22. debug1: Connection established. debug1: identity file /home/rmarshall/.ssh/identity type 0 debug1: identity file /home/rmarshall/.ssh/id_rsa type 1 debug1: identity file /home/rmarshall/.ssh/id_dsa type 2 ssh_exchange_identification: Connection closed by remote host My hosts.allow is: ssh: 0.0.0.0/0.0.0.0 I am allowing both protocols 1 and 2 Have generated the keys (I don't get any error messages when I start the daemon). When I do a: rmarshall at Sam:/opt/bin$ ./ssh sam -vvv OpenSSH_4.3p2, OpenSSL 0.9.7g 11 Apr 2005 debug1: Reading configuration data /opt/etc/ssh/ssh_config debug2: ssh_connect: needpriv 0 debug1: Connecting to sam [127.0.0.1] port 22. debug1: Connection established. debug1: identity file /home/rmarshall/.ssh/identity type 0 debug3: Not a RSA1 key file /home/rmarshall/.ssh/id_rsa. debug2: key_type_from_name: unknown key type '-----BEGIN' debug3: key_read: missing keytype debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug2: key_type_from_name: unknown key type '-----END' debug3: key_read: missing keytype debug1: identity file /home/rmarshall/.ssh/id_rsa type 1 debug3: Not a RSA1 key file /home/rmarshall/.ssh/id_dsa. debug2: key_type_from_name: unknown key type '-----BEGIN' debug3: key_read: missing keytype debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug2: key_type_from_name: unknown key type '-----END' debug3: key_read: missing keytype debug1: identity file /home/rmarshall/.ssh/id_dsa type 2 ssh_exchange_identification: Connection closed by remote host I have googled until I can't google no more, can anyone help? marros _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev at mindrot.org http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev
I have compiled the latest version to test out, installed into /opt so as not to break my old version, and have not been able to log in, I am trying to ssh into the local machine... rmarshall at Sam:/opt/bin$ ./ssh sam -v OpenSSH_4.3p2, OpenSSL 0.9.7g 11 Apr 2005 debug1: Reading configuration data /opt/etc/ssh/ssh_config debug1: Connecting to sam [127.0.0.1] port 22. debug1: Connection established. debug1: identity file /home/rmarshall/.ssh/identity type 0 debug1: identity file /home/rmarshall/.ssh/id_rsa type 1 debug1: identity file /home/rmarshall/.ssh/id_dsa type 2 ssh_exchange_identification: Connection closed by remote host My hosts.allow is: ssh: 0.0.0.0/0.0.0.0 I am allowing both protocols 1 and 2 Have generated the keys (I don't get any error messages when I start the daemon). When I do a: rmarshall at Sam:/opt/bin$ ./ssh sam -vvv OpenSSH_4.3p2, OpenSSL 0.9.7g 11 Apr 2005 debug1: Reading configuration data /opt/etc/ssh/ssh_config debug2: ssh_connect: needpriv 0 debug1: Connecting to sam [127.0.0.1] port 22. debug1: Connection established. debug1: identity file /home/rmarshall/.ssh/identity type 0 debug3: Not a RSA1 key file /home/rmarshall/.ssh/id_rsa. debug2: key_type_from_name: unknown key type '-----BEGIN' debug3: key_read: missing keytype debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug2: key_type_from_name: unknown key type '-----END' debug3: key_read: missing keytype debug1: identity file /home/rmarshall/.ssh/id_rsa type 1 debug3: Not a RSA1 key file /home/rmarshall/.ssh/id_dsa. debug2: key_type_from_name: unknown key type '-----BEGIN' debug3: key_read: missing keytype debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug3: key_read: missing whitespace debug2: key_type_from_name: unknown key type '-----END' debug3: key_read: missing keytype debug1: identity file /home/rmarshall/.ssh/id_dsa type 2 ssh_exchange_identification: Connection closed by remote host I have googled until I can't google no more, can anyone help? marros
On Thu, Sep 14, 2006 at 01:24:13PM -0600, Ross Marshall wrote:> I have compiled the latest version to test out, installed into /opt so > as not to break my old version, and have not been able to log in, I am > trying to ssh into the local machine...[...]> ssh_exchange_identification: Connection closed by remote hostThat's often caused by tcpwrappers...> My hosts.allow is: ssh: 0.0.0.0/0.0.0.0tcpwrappers expects the name of the process doing the check (ie "sshd") not the protocol. If you chage the "ssh" to "sshd" it should be ok. -- Darren Tucker (dtucker at zip.com.au) GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69 Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement. _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev at mindrot.org http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev