Here is a collection of commands relevant to using a remote server that I find helpful.
Establish connection ssh -X -p *port* user_n[email protected]
_ip ssh command establishes a ssh connection with the server. -X opens an X-server, which allows you to open GUI software (e.g. firefox) on the server and convey the display to your local computer -p selects the specific port the connection is going to be established. Not all ports of a computer are always open for security reasons.