nano /etc/ssh/ssh_config默认端口为22,现修改成:Port 1979重启服务:service sshd restart连接:ssh -p 1979 root@qpsoft.com