apt-get install openssh-servervi /etc/ssh/sshd_configAllowUsers realjt(自己的用户名)systemctl restart sshd
原文:
https://blog.csdn.net/juntian2008/article/details/88381229