Using SSH, you can connect to another computer, and use the Command-Line Interface as if you were working on that physical machine.
All you need is the computer's hostname (IP-address or hostname) and an account to login with.
The first time, you will be asked to accept the Security Certificate. Type
yes and press Return to continue.
Then you can enter your password. A session is started on the other machine and off you go!