web-dev-qa-db-fra.com

La commande "ssh localhost" affiche 20 mauvaises options de configuration

hduser1@archit-HP-Notebook:~$ ssh localhost
/etc/ssh/ssh_config: line 11: Bad configuration option: hostkey
/etc/ssh/ssh_config: line 12: Bad configuration option: hostkey
/etc/ssh/ssh_config: line 13: Bad configuration option: hostkey
/etc/ssh/ssh_config: line 14: Bad configuration option: hostkey
/etc/ssh/ssh_config: line 16: Bad configuration option: useprivilegeseparation
/etc/ssh/ssh_config: line 19: Bad configuration option: keyregenerationinterval
/etc/ssh/ssh_config: line 20: Bad configuration option: serverkeybits
/etc/ssh/ssh_config: line 23: Bad configuration option: syslogfacility
/etc/ssh/ssh_config: line 27: Bad configuration option: logingracetime
/etc/ssh/ssh_config: line 28: Bad configuration option: permitrootlogin
/etc/ssh/ssh_config: line 29: Bad configuration option: strictmodes
/etc/ssh/ssh_config: line 36: Bad configuration option: ignorerhosts
/etc/ssh/ssh_config: line 45: Bad configuration option: permitemptypasswords
/etc/ssh/ssh_config: line 64: Bad configuration option: x11forwarding
/etc/ssh/ssh_config: line 65: Bad configuration option: x11displayoffset
/etc/ssh/ssh_config: line 66: Bad configuration option: printmotd
/etc/ssh/ssh_config: line 67: Bad configuration option: printlastlog
/etc/ssh/ssh_config: line 75: Bad configuration option: acceptenv
/etc/ssh/ssh_config: line 77: Bad configuration option: subsystem
/etc/ssh/ssh_config: line 88: Bad configuration option: usepam
/etc/ssh/ssh_config: terminating, 20 bad configuration options
2
Archit Jain

Ouvrez le /etc/ssh/ssh_config et supprimez toutes les options énumérées. Ils sont supposés faire partie de la sshd_config (la configuration du serveur), pas de celle du client.

3
Jakuje