“ssh localhost” está mostrando 20 opções de configuração incorretas

2
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
    
por Archit Jain 28.06.2017 / 08:20

1 resposta

2

Abra o /etc/ssh/ssh_config e remova todas as opções listadas. Eles devem fazer parte do sshd_config (a configuração do servidor), não do cliente.

    
por Jakuje 28.06.2017 / 13:01