sudo apt install openssh-server
Use ssh-keygen and ssh-copy-id from client to put your public key on the server to avoid having to type a password all the time. Disable passwords in /etc/ssh/sshd_config for convenient security.Look into forwarding X Windows or perhaps easier VNC if a GUI is needed/desired.