步骤一
- VIM /etc/SSH/sshd_config
- [root@localhost SSH]# more sshd_config
- Port 22 // 先把 22 注释掉
- port 2501 // 添加一个新的端口
- Protocol 2,1
步骤二
- [root@localhost ~]# service sshd restart
- Stopping sshd:[ OK ]
- Starting sshd:[ OK ]
步骤三
用 SecureCRT 测试
来源: http://www.bubuko.com/infodetail-2774837.html