SSH can't connect to server Hosts.deny No no no no no no no no IP can't find any reason

Source: Internet
Author: User

[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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.