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

Re: SSH2 sans passwd



Le mar 22/10/2002 à 21:03, Coletta Rémi a écrit :
> On Tue, 22 Oct 2002 14:02:52 +0200
> Bruno Treguier <Bruno.Treguier@shom.fr> wrote:
> 
> >SSH est très pointilleux sur les droits des fichiers dans le répertoire
> >.ssh/, ça peut peut-être venir de là...
> 
> $ ls -l
> total 16
> drwx------   2 bessiere bessiere      168 Oct 19 11:06 hostkeys
> -rw-------   1 bessiere bessiere      890 Oct 22 16:03 id_dsa_1024_a
> -rw-r--r--   1 bessiere bessiere      759 Oct 22 16:03 id_dsa_1024_a.pub
> lrwxrwxrwx   1 bessiere bessiere       17 Oct 22 16:05 identification -> id_dsa_1024_a.pub
> -rw-------   1 bessiere bessiere      512 Oct 22 16:06 random_seed
> -rw-------   1 bessiere bessiere     1124 Oct 22 16:00 ssh2_config

La clé privée doit être sur ton client. La publique côté serveur.
Je ne vois pas ce que le lien soft vient faire là et je ne le conseille
pas: OpenSSH est _vraiment_ pointilleux. En outre, je ne vois pas non
plus quel est ce fichier ssh2_config et sa présence en ces lieux.
Dernière chose: tu n'as pas indiqué le répertoire courant ni ses
permissions...

> >Ca donne quoi avec un "ssh -v" ?
> 
> $ ssh -v coletta@coletta.dyndns.org
> debug: hostname is 'coletta.dyndns.org'.
> debug: connecting to coletta.dyndns.org...
> debug: entering event loop
> debug: ssh_client_wrap: creating transport protocol
> debug: SshAuthMethodClient/sshauthmethodc.c:99/ssh_client_authentication_initialize: Added "publickey" to usable methods.
> debug: SshAuthMethodClient/sshauthmethodc.c:99/ssh_client_authentication_initialize: Added "password" to usable methods.
> debug: Ssh2Client/sshclient.c:1097/ssh_client_wrap: creating userauth protocol
> debug: Ssh2Common/sshcommon.c:350/ssh_common_wrap: local ip = 128.84.97.128, local port = 2502
> debug: Ssh2Common/sshcommon.c:352/ssh_common_wrap: remote ip = 80.13.105.58, remote port = 22
> debug: SshConnection/sshconn.c:1853/ssh_conn_wrap: Wrapping...
> debug: Ssh2Transport/trcommon.c:593/ssh_tr_input_version: Remote version: SSH-2.0-OpenSSH_3.4p1 Debian 1:3.4p1-1
> debug: Remote version: SSH-2.0-OpenSSH_3.4p1 Debian 1:3.4p1-1
> debug: Ssh2Client/sshclient.c:399/keycheck_key_match: Host key found from database.
> debug: Ssh2Common/sshcommon.c:189/ssh_common_special: special packet received from connection protocol: 3
> debug: Ssh2Common/sshcommon.c:189/ssh_common_special: special packet received from connection protocol: 4
> debug: Ssh2AuthClient/sshauthc.c:309/ssh_authc_completion_proc: Method 'publickey' disabled.
> debug: Ssh2AuthPasswdClient/authc-passwd.c:82/ssh_client_auth_passwd: Starting password query...
> coletta's password:

Vérifies que la configuration de ton client SSH tente bien
l'identification par échange de clés et que le serveur le supporte.

-- 
Raphaël "SurcouF" Bordet
surcouf@linuxfr.net




Reply to: