Re: Connection closed, no reason given
From: Darren Tucker (dtucker_at_gate.dodgy.net.au)
Date: 11/05/05
- Next message: Darren Tucker: "Re: Chaining SSH tunnels?"
- Previous message: jois.de.vivre_at_gmail.com: "Connection closed, no reason given"
- In reply to: jois.de.vivre_at_gmail.com: "Connection closed, no reason given"
- Next in thread: Unruh: "Re: Connection closed, no reason given"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 05 Nov 2005 00:06:17 GMT
On 2005-11-04, jois.de.vivre@gmail.com <jois.de.vivre@gmail.com> wrote:
[...]
> I copied the entry from id_dsa.pub into the remote machine's
> .ssh/authorized_keys file and expected to be able to login without a
> problem. However, when I try and login now it simply says
>
> Connection closed by 192.168.1.108
>
> And I can't ssh into it anymore. I suspect the problem is in the
> authorized_keys file, how can I force it to not look in there without
> having to go to that machine and manually delete the entry?
You're using OpenSSH? (looks like it but you don't say)
I suspect you corrupted the key while copying it into authorized_keys.
Depending on exactly how it was corrupted, earlier versions of OpenSSH
didn't handle that well and would abort the connection. This has been
fixed for a while.
You can prevent you client from trying public-key authentication
which will probably let you log in ok. For OpenSSH, this is
"ssh -oPreferredAuthentications=password yourserver" (or possibly
keyboard-interactive instead of password). For other clients it will
probably be different.
--
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.
- Next message: Darren Tucker: "Re: Chaining SSH tunnels?"
- Previous message: jois.de.vivre_at_gmail.com: "Connection closed, no reason given"
- In reply to: jois.de.vivre_at_gmail.com: "Connection closed, no reason given"
- Next in thread: Unruh: "Re: Connection closed, no reason given"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|