auto lo
ifacelo inet loopback
auto wlo1
iface wlo1 inet dhcp
wpa-ssid SSID
wpa-psk PASSWORD
dns-nameservers 8.8.8.8
to /etc/network/interfaces
Folllow https://dev.to/zduey/how-to-set-up-an-ssh-server-on-a-home-computer
Run ip addr show
to find the ip, it will likelly start with 192
Add PermitRootLogin prohibit-password
to /etc/ssh/sshd_config
https://superuser.com/questions/596900/how-to-enable-sudo-commands-over-ssh-without-asking-password
Add august ALL=NOPASSWD: ALL
at the end of /etc/sudoers
to stop being request password on login