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