[Linux-bruxelles] Re: SSH connection loose ...

Jean Charles Delepine delepine at u-picardie.fr
Mar 15 Jan 01:05:01 CET 2002


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

> ob1 at knob-lap1:~$ ssh -v eric at 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





Plus d'informations sur la liste de diffusion Linux-bruxelles