sudo apt-get install openssh-server -y
sudo ufw allow 22
if ufw is not enable, sudo ufw enable
If you see the error below, command "ssh-keygen -R 172.27.---.----" in client
C:\Users\Hogeony>ssh asus@172.27.---.----
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! Someone could be eavesdropping on you right now (man-in-the-middle attack)! It is also possible that a host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
SHA256:yo--------.
Please contact your system administrator.
Add correct host key in C:\\Users\\Hogeony/.ssh/known_hosts to get rid of this message.
Offending RSA key in C:\\Users\\Hogeony/.ssh/known_hosts:2
RSA host key for 172.27.---.---- has changed and you have requested strict checking.
Host key verification failed.
#References
https://thishosting.rocks/how-to-enable-ssh-on-ubuntu/
'ENGINEERING > OS' 카테고리의 다른 글
How to solve Black Screen after NVIDIA graphics driver in Ubuntu? (0) | 2019.07.29 |
---|---|
How to solve Infinite Login after NVIDIA graphics driver in Ubuntu? (0) | 2019.07.29 |
How to use Ubuntu WIFI Hotspot? (0) | 2019.07.22 |
Setup Deep Learning Environment on Ubuntu 16.0.4 LTS (0) | 2019.07.18 |
What is the Best for GPU Usage Monitoring in Ununtu/Linux? (0) | 2019.07.18 |