[英]Connect to ssh remote host (which is in vpn network) times out
I try to connect to a ssh host which is located in a remote vpn network. 我尝试连接到位于远程VPN网络中的SSH主机。 Once connected with my vpn client I am able to ping the ssh host.
与我的vpn客户端连接后,我就可以ping通ssh主机。 The ssh connection via a remote desktop session from a different machine within the vpn network works fine.
通过VPN网络内另一台计算机通过远程桌面会话进行ssh连接可以正常工作。 SuSEfirewall2 is configured for routing port 22 to the sshd service.
SuSEfirewall2配置为将端口22路由到sshd服务。
When I now try to ssh from my vpn client machine, the operation times out: 现在,当我尝试从我的vpn客户端计算机上使用ssh时,操作超时:
ssh: connect to host xxx.xxx.61.xx port 22: Operation timed out
The IP address that I get from the vpn client is xxx.xxx.60.xx! 我从vpn客户端获得的IP地址是xxx.xxx.60.xx!
Is there anything that needs to be considered for ssh-service setup when the host is within a remote vpn network? 当主机位于远程VPN网络中时,是否需要考虑任何用于ssh服务设置的内容?
No, VPN should not make any difference. 不,VPN不会有任何区别。
The fact that ping works but ssh doesn't seems to suggest at a problem with your firewall-config for ssh service. ping有效但ssh的事实似乎并不表明您的ssh服务的防火墙配置有问题。
Can you use the ssh service from the ssh-server itself or local network? 您可以通过ssh服务器本身还是本地网络使用ssh服务?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.