sudo apt-get purge openssh-serversudo apt-get install openssh-serversudo nano /etc/ssh/sshd_configand disallow root login by settingPermitRootLogin noThen add a line beneath it that says:
AllowUsers yourusernameand make sure
PasswordAuthenticationis set toyesif you want to login using a password.Disable privilege separation by adding/modifying :
UsePrivilegeSeparation nosudo service ssh --full-restart출처: https://superuser.com/questions/1111591/how-can-i-ssh-into-bash-on-ubuntu-on-windows-10
댓글 없음:
댓글 쓰기