[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ssh strangeness



At 03:20 p.m. 12/07/01 -0400, D-Man wrote:
On Thu, Jul 12, 2001 at 01:57:48PM -0400, Andrew Dixon wrote:
| Hi All,
| I've been having some weird problems with ssh.  I can connect to our
| server (RH 7.1) but when I try to connect to another Debian box on the
| network (PPC) I get the following message:
|
| dixon@rowling:~$ ssh -l andrew.dixon stiq
| ssh_exchange_identification: Connection closed by remote host
|
| I get the same error when I try on a different PPC Deb box as well.

I got this problem when I upgraded one of my boxes to woody -- the
potato box and the win boxes (with putty) couldn't connect.  I also
couldn't ssh to localhost!  I then started looking at how to generate
keys, since with debug messages turned on it seemed that the new sshd
wanted a key somewhere.  After using ssh-keygen to create RSA and DSA
and ssh1 keys in my home directory everything seems cool.  I didn't
even need to copy the keys over to the client boxes.  (Now I need to
do some research, but for now "it works" is good enough)

you can append your ~/.ssh/identity.pub to your ssh server dir ~/.ssh/authorized_keys (check the filename in man) and you don't need to nasty type the password :)
really cool if you use it a lot, also with scp



| I CAN log into the PPC Deb box from the redhat server and I also CAN log
| into my Debian box from the server.

I didn't have a RH box to try with, but none of the boxes I have could
ssh into my woody box for a while (see above).

-D


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: