Posté par emlesna .
En réponse au message SSH.
Évalué à 2.
Merci pour toute ces infos,
Du coup j'ai essayé avec l'option -v que je ne connaissais pas.
Voici ce qui m'est retourné :
anselme@machine-desktop:~$ ssh -v bureau-U@XX.XX.XX.XX
OpenSSH_4.7p1 Debian-8ubuntu1.2, OpenSSL 0.9.8g 19 Oct 2007
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to XX.XX.XX.XX [XX.XX.XX.XX] port 22.
debug1: Connection established.
debug1: identity file /home/anselme/.ssh/identity type -1
debug1: identity file /home/anselme/.ssh/id_rsa type -1
debug1: identity file /home/anselme/.ssh/id_dsa type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.1p1 Debian-3ubuntu1
debug1: match: OpenSSH_5.1p1 Debian-3ubuntu1 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.7p1 Debian-8ubuntu1.2
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host 'XX.XX.XX.XX' is known and matches the RSA host key.
debug1: Found key in /home/anselme/.ssh/known_hosts:11
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Trying private key: /home/anselme/.ssh/identity
debug1: Trying private key: /home/anselme/.ssh/id_rsa
debug1: Trying private key: /home/anselme/.ssh/id_dsa
debug1: Next authentication method: password
bureau-U@XX.XX.XX.XX's password:
debug1: Authentications that can continue: publickey,password
Permission denied, please try again.
.......
J'ai l'impression que dans mon cas, l'authentification par password ne suffise pas.......
alors que sur le serveur le fichier /etc/ssh/sshd_config est bien configuré de la manière suivante :
# Change to yes to enable tunnelled clear text passwords
PasswordAuthentication yes
Je continue à chercher en me basant sur vos réponses et vos précieux conseils, merci
[^] # Re: Clé d'authentification et mot de passe
Posté par emlesna . En réponse au message SSH. Évalué à 2.