sles set ssh client connection

切换到root账户
1、 vi /etc/sysconfig/SuSEfirewall2
2、 9.)
# Which TCP services _on the firewall_ should be accessible from
# untrusted networks?
#
# Format: space separated list of ports, port ranges or well known
#         service names (see /etc/services)
#
# Examples: "ssh", "123 514", "3200:3299", "ftp 22 telnet 512:514"
#
# Note: this setting has precedence over FW_SERVICES_ACCEPT_*
# 修改为22端口
FW_SERVICES_EXT_TCP=" 22 "
3、rcSuSEfirewall2 restart

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326589782&siteId=291194637