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

Re: SSH connection loose ...



Eric Gianquinto <eric.gianquinto@easynet.be> écrivait (wrote) :

> ob1@knob-lap1:~$ ssh -v eric@serverhost
> SSH Version OpenSSH-1.2.3, protocol version 1.5.

> debug: Remote protocol version 2.0, remote software version
> OpenSSH_3.0.1p1

> Disconnecting: Bad packet length 1349676916.
> debug: Calling cleanup 0x8056840(0x0)

less /usr/share/doc/ssh/REAFME.Debian  (OpenSSH_3.0.2p1) :

SSH now uses protocol 2 by default
----------------------------------

This means all your keyfiles you used for protocol version 1 need to
be re-generated. The server keys are done automatically, but for RSA
authentication, please read the ssh-keygen manpage.

If you have an automatically generated configuration file, and decide
at a later stage that you do want to support protocol version 1 (not
recommended, but note that the ssh client shipped with Debian potato
only supported protocol version 1), then you need to do the following:

Change /etc/ssh/sshd_config such that:
Protocol 2
becomes:
Protocol 2,1
Also add the line:
HostKey /etc/ssh/ssh_host_key

(you may need to generate a host key if you do not already have one)

Donc, soit accepter le protcol de version 1 sur le serveur, soit passer
en version 2 sur le client.

               Jean Charles
-- 
Jean Charles Delépine - Équipe Réseaux Télécoms - Université de Picardie



Reply to: