web-dev-qa-db-ja.com

「ssh localhost」コマンドが20個の不適切な構成オプションを表示している

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

/etc/ssh/ssh_configを開き、リストされているすべてのオプションを削除します。これらは、クライアントではなくsshd_config(サーバー構成)の一部であると想定されています。

3
Jakuje