CentOS修改配置文件:/etc/ssh/sshd_config ,找到 #port 22,把#删除 ,回车另起一行写入想修改的端口号port xxx。重启ssh service sshd restart 查看状态 netstat -an | grep "LISTEN "Ubuntu同CentOSOpenwrt群晖
评论(0)