修改SSH端口 vi /etc/ssh/sshd_config (将前面的#去掉) Centos 重启SSH : service sshd restart Debian重启SSH: service ssh restart