vim /etc/ssh/sshd_config,修改port为你想要的端口
invoke-rc.d ssh restart

 

客户端连接:

ssh 142.4.125.90 -l root -p8751

 

相关文章: