Linux 修改远程默认端口(22) vim /etc/ssh/sshd_config 找到#Port 22一段,这里是标识默认使用22端口,修改为如下: Port 40022 然后保存退出。 service sshd restart