ssh远程连接

vim /etc/ssh/sshd_config找到Port修改端口

PermitRootLogin no 禁root登录

ssh -p 端口  username@ip

  

原文地址:https://www.cnblogs.com/fply/p/11207791.html