Set up SSH Server


It can be convenient if your laptop can be a ssh server, so anyone on the same network (LAN) can ssh into it.


sudo apt update
sudo apt install openssh-server
sudo systemctl status ssh #should be running
sudo ufw allow # allow firewall configuration tool called ufw
ssh yui@192.168.1.100 # Then password
    

Check ip-address


ifconfig
    

Check username


whoami
    

Notes

  1. If there are additional firewall softwares installed, it is better to turn those off, for exmaple McAfee.

References


  1. How to Enable SSH on Ubuntu 18.04