我们有个服务器,天天有人尝试用ssh登录,所以决定把端口换掉。 vi /etc/ssh/sshd_config 修改为 Port 8080 这样就可以用 ssh -p 8080 username@hostname来登录了。