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

Re: SSH2 sans passwd [précisions]



On Wed, 23 Oct 2002 10:10:14 +0200
Bruno Treguier <Bruno.Treguier@shom.fr> wrote:

Sur le client:

[bessiere@zippy1 ~/.ssh2]$ ssh -V
ssh: SSH Secure Shell 2.2.0 (non-commercial version) on i686-pc-linux-gnu

Sur la cible:

coletta@bilbo ~/.ssh$ ssh -V
OpenSSH_3.4p1 Debian 1:3.4p1-1, SSH protocols 1.5/2.0, OpenSSL 0x0090603f

Les droits sont à 0700 sur .ssh (resp .ssh2) et 0600 sur .ssh/*

J'ai copié identification (idem id_dsa_1024_a.pub) du client sur le serveur

Ensuite, comme indiqué par Bruno:
>$ ssh-keygen -i -fid_dsa_1024_a.pub >>~/.ssh/authorized_keys

J'essaye:

[bessiere@zippy1 ~]$ 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 = 3529
debug: Ssh2Common/sshcommon.c:352/ssh_common_wrap: remote ip = 80.14.119.127, remote port = 22
debug: SshConnection/sshconn.c:1853/ssh_conn_wrap: Wrapping...
warning: Warning: Need basic cursor movement capablity, using vt100
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:

-- 
Remi COLETTA



Reply to: