[Email protected] downloads]# SSH-P22022-VV123. 5X.XX.XXXOPENSSH_5.3P1, OpenSSL1.0.1e-fips OneFeb -debug1:reading Configuration Data/etc/ssh/ssh_configdebug1:applying Options for*Debug2:ssh_connect:needpriv0debug1:connecting to123. xx.xxx.xx [123.57. xx.xxx] Port22022. Debug1:connection Established.debug1:permanently_set_uid:0/0debug1:identity File/root/.ssh/identity Type-1debug1:identity File/root/.ssh/identity-cert Type-1debug1:identity File/root/.ssh/id_rsa Type-1debug1:identity File/root/.ssh/id_rsa-cert Type-1debug1:identity File/ROOT/.SSH/ID_DSA Type-1debug1:identity File/root/.ssh/id_dsa-cert Type-1debug1:identity File/ROOT/.SSH/ID_ECDSA Type-1debug1:identity File/root/.ssh/id_ecdsa-cert Type-1ssh_exchange_identification:connection closed by remote host
# cat/etc/Hosts.allow # Hosts.allow This file contains access rules which is used to# allow or deny connections to n Etwork Services that# Either use the Tcp_wrappers library or that has been# started through a tcp_wrappers< /c0>-enabled xinetd.## see'Mans 5 Hosts_options'and'Mans 5 Hosts_access'# forinformation on rule syntax.# see'Mans TCPD' forinformation on Tcp_wrappers#sshd:all #加上这一行问题解决
But it's not safe to have all of the banned IP can be lost in effect!!!!
SSH can't connect to server Hosts.deny No no no no no no no no IP can't find any reason