sles设置ssh客户端连接
程序员文章站
2022-03-22 17:38:46
...
切换到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
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
推荐阅读
-
PostgreSQL数据库服务端监听设置及客户端连接方法教程
-
远程控制服务(SSH)之Linux环境下客户端与服务端的远程连接
-
大势至公司文件防泄密方案、企业防泄密软件网络版的管理端与客户端连接设置的方法
-
SSH客户端之SSH Secure Shell 的连接方法
-
SQL Server 2005 Express 远程连接 客户端 远程访问 设置 全攻略
-
【一次成功】Ubuntu设置允许Root用户远程SSH连接并登录
-
SQL Server 2005 Express 远程连接 客户端 远程访问 设置 全攻略
-
客户端连接Mysql服务器的权限设置问题_MySQL
-
客户端连接Mysql服务器的权限设置问题_MySQL
-
Navicat客户端连接MySQL数据库设置