如何更改Linux的ssh端口 发表于 2012-12-29 由 小样儿 1. 修改/etc/ssh/sshd_config里的Port字段 Port 22改为Port 1000(你自定义的端口) 2. 重启sshd服务 #service sshd restart