par contre , j'ai parlé trop vite .
pour buster , çà a marché mais pas pour la vm stretch
alain@Alain-PC:~$ ssh root@192.168.1.32
Received disconnect from 192.168.1.32 port 22:2: Too many authentication failures
Disconnected from 192.168.1.32 port 22
alain@Alain-PC:~$ ssh root@192.168.1.32 -o PubkeyAuthentication=no
root@192.168.1.32's password:
Permission denied, please try again.
root@192.168.1.32's password:
Permission denied, please try again.
root@192.168.1.32's password:
root@192.168.1.32: Permission denied (publickey,password).
alain@Alain-PC:~$ ssh debian@192.168.1.32
Received disconnect from 192.168.1.32 port 22:2: Too many authentication failures
Disconnected from 192.168.1.32 port 22
alain@Alain-PC:~$ ssh debian@192.168.1.32 -o PubkeyAuthentication=no
debian@192.168.1.32's password:
Permission denied, please try again.
debian@192.168.1.32's password:
Permission denied, please try again.
debian@192.168.1.32's password:
debian@192.168.1.32: Permission denied (publickey,password).
alain@Alain-PC:~$ ssh -v debian@192.168.1.32
OpenSSH_7.9p1 Debian-9, OpenSSL 1.1.1b 26 Feb 2019
debug1: Reading configuration data /home/alain/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to 192.168.1.32 [192.168.1.32] port 22.
debug1: Connection established.
debug1: identity file /home/alain/.ssh/id_rsa type 0
debug1: identity file /home/alain/.ssh/id_rsa-cert type -1
debug1: identity file /home/alain/.ssh/id_dsa type -1
debug1: identity file /home/alain/.ssh/id_dsa-cert type -1
debug1: identity file /home/alain/.ssh/id_ecdsa type -1
debug1: identity file /home/alain/.ssh/id_ecdsa-cert type -1
debug1: identity file /home/alain/.ssh/id_ed25519 type -1
debug1: identity file /home/alain/.ssh/id_ed25519-cert type -1
debug1: identity file /home/alain/.ssh/id_xmss type -1
debug1: identity file /home/alain/.ssh/id_xmss-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_7.9p1 Debian-9
debug1: Remote protocol version 2.0, remote software version OpenSSH_7.4p1 Debian-10+deb9u6
debug1: match: OpenSSH_7.4p1 Debian-10+deb9u6 pat OpenSSH_7.0*,OpenSSH_7.1*,OpenSSH_7.2*,OpenSSH_7.3*,OpenSSH_7.4*,OpenSSH_7.5*,OpenSSH_7.6*,OpenSSH_7.7* compat 0x04000002
debug1: Authenticating to 192.168.1.32:22 as 'debian'
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: curve25519-sha256
debug1: kex: host key algorithm: ecdsa-sha2-nistp256
debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: ecdsa-sha2-nistp256 SHA256:FTftIJmQmRSwnrDeEKjKmHxZj4EUfuGbz/8/ACYJS4I
debug1: Host '192.168.1.32' is known and matches the ECDSA host key.
debug1: Found key in /home/alain/.ssh/known_hosts:9
debug1: rekey after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: rekey after 134217728 blocks
debug1: Will attempt key: /home/alain/.ssh/id_rsa RSA SHA256:W8G8opHhRVembD3ViL9Ae8jk+UVomKM3jp3Fe/iGLVQ agent
debug1: Will attempt key: alain@Alain-PC RSA SHA256:kAUPeDeqoxODKUMdD8tevk/Q1Gw4OtNKl35WRgq0DMQ agent
debug1: Will attempt key: alain@Alain-PC RSA SHA256:aX98Re2WXO/dplFw3k4OiS6g+x/S3JeAEGfCrf8uZNI agent
debug1: Will attempt key: alain@Alain-PC RSA SHA256:no8Ia66guvmytlxtvJLjqpTmCuNvxfcSJJI3srH+MFQ agent
debug1: Will attempt key: alain@Alain-PC RSA SHA256:cIje7Ou7KLJUW1vzsKtU6zpl1zBX/Li/CMjCD+H6Rb8 agent
debug1: Will attempt key: alain@Alain-PC RSA SHA256:HHsNU7myXeHfTPT/2+25xZNhsmAo45e9MKNon/bm+MI agent
debug1: Will attempt key: /home/alain/.ssh/id_dsa
debug1: Will attempt key: /home/alain/.ssh/id_ecdsa
debug1: Will attempt key: /home/alain/.ssh/id_ed25519
debug1: Will attempt key: /home/alain/.ssh/id_xmss
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,ssh-rsa,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521>
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Offering public key: /home/alain/.ssh/id_rsa RSA SHA256:W8G8opHhRVembD3ViL9Ae8jk+UVomKM3jp3Fe/iGLVQ agent
debug1: Authentications that can continue: publickey,password
debug1: Offering public key: alain@Alain-PC RSA SHA256:kAUPeDeqoxODKUMdD8tevk/Q1Gw4OtNKl35WRgq0DMQ agent
debug1: Authentications that can continue: publickey,password
debug1: Offering public key: alain@Alain-PC RSA SHA256:aX98Re2WXO/dplFw3k4OiS6g+x/S3JeAEGfCrf8uZNI agent
debug1: Authentications that can continue: publickey,password
debug1: Offering public key: alain@Alain-PC RSA SHA256:no8Ia66guvmytlxtvJLjqpTmCuNvxfcSJJI3srH+MFQ agent
debug1: Authentications that can continue: publickey,password
debug1: Offering public key: alain@Alain-PC RSA SHA256:cIje7Ou7KLJUW1vzsKtU6zpl1zBX/Li/CMjCD+H6Rb8 agent
debug1: Authentications that can continue: publickey,password
debug1: Offering public key: alain@Alain-PC RSA SHA256:HHsNU7myXeHfTPT/2+25xZNhsmAo45e9MKNon/bm+MI agent
Received disconnect from 192.168.1.32 port 22:2: Too many authentication failures
Disconnected from 192.168.1.32 port 22
https://superuser.com/questions/187779/ … r-username
https://www.tecmint.com/fix-ssh-too-man … res-error/
https://www.debian-fr.org/t/ssh-too-man … ures/32641
https://serverfault.com/questions/36291 … -user-root
https://www.linuxquestions.org/question … 175601824/
rien compris
Dernière modification par Debian Alain (31-03-2019 09:15:32)