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

Re: sshd problem




On 18.07.2002 09:56 Marcelo Chiapparini wrote:

On 17.07.2002 17:37 nate wrote:
<quote who="Marcelo Chiapparini">
> Hello,
>
> dft:~> ssh 152.92.133.47
> Disconnecting: Bad packet length 1349676916.
>
> what did I wrong?

i haven't had this error for a couple years but when
i did, it indicated an incompadiblity with the version
of SSH(or the protocol) between the client and server.

try forcing protocol 1 and then try forcing protocol 2
if that doesn't work, also turn on verbose via -v option.

you may need another ssh package on the client to connect.
this problem is quite rare in my experience ..it would
help to know the version of SSH on both systems, run
ssh -V it can usually tell you what version.

nate

Hi,

In /etc/ssh/sshd_config I changed the line "Protocol 1" to "Protocol 1,2", in order to force sshd to listen protocol version 1 too (all the client machines runs potato!). But when sshd is loading I get the message:

# /usr/sbin/sshd
Disabling protocol version 1. Could not load host key

In /etc/ssh I have only the ssh_host_rsa_key and ssh_host_dsa_key files used to run protocol version 2. The file /etc/ssh/ssh_host_key file, used by protocol 1 version, is missed. How can I generate it?

Are the following lines the only ones I need in sshd_config in order to run protocols versions 1 and 2?

Protocol 1,2
HostKey /etc/ssh/ssh_host_key (missed by now!)
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_dsa_key

Thanks in advance,

Marcelo
--
Marcelo Chiapparini
DFT-IF/UERJ
chiappa@uerj.br


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



Reply to: