Dav*_*ave 8 ssh windows-xp openssh
我只是在Windows XP机器上设置openssh,我正试图从远程机器访问它.虽然我可以telnet到远程机器,并且当实际在远程机器上执行"ssh localhost"时,当我尝试从我的Mac进入SSH时,我得到......
davea-mbp2:~ davea$ ssh developer@remote_ip
ssh_exchange_identification: Connection closed by remote host
Run Code Online (Sandbox Code Playgroud)
我已将我的IP添加到/etc/hosts.allow文件中...
#
# hosts.allow This file describes the names of the hosts which are
# allowed to use the local INET services, as decided
# by the '/usr/sbin/tcpd' server.
#
# CYGWIN note: if you use a software firewall (such
# as ZoneAlarm or the "Windows Firewall" in Windows
# XP), you must also open a 'hole' at the proper
# port for the services you enable below.
#
ALL : localhost 127.0.0.1/32 [::1]/128 [::ffff:127.0.0.1]/128 : allow
ALL : PARANOID : deny
sshd: ALL : allow
sshd: my_local_network_ip
sshd: my_ip
Run Code Online (Sandbox Code Playgroud)
这是我的/etc/hosts.deny文件的内容......
#
# hosts.deny This file describes the names of the hosts which are
# *not* allowed to use the local INET services, as decided
# by the '/usr/sbin/tcpd' server.
#
ALL:ALL EXCEPT localhost:DENY
Run Code Online (Sandbox Code Playgroud)
有什么想法我可以修改这些文件或可能做其他事情让我登录?
归档时间: |
|
查看次数: |
5434 次 |
最近记录: |