10 SSH
Anthony Wang edited this page 3 months ago

You can use SSH to log in to exozyme if you do not need a graphical desktop. SSH uses much less bandwidth than a full-blown desktop, so you should experience much better performance. Note that you do need some experience with using the terminal.

Setup

First, generate an SSH key. To add the key to the server, you will need to log in using exohub and add the public key to your ~/.ssh/authorized_keys file.

Now open up a terminal on your computer and use the following command to connect to exozyme with SSH, substituting your exozyme username for USERNAME:

ssh USERNAME@exozy.me

This command connects you to our SSH server at exozy.me You will be prompted to type in your SSH key's password. If everything works, it should drop you into a terminal.

Tips and tricks

Run graphical apps

If you want to run graphical apps, you can use X11 forwarding with ssh -X. Note that this works best with a Linux client; otherwise, follow these instructions.

You can also use Waypipe if you need graphical acceleration.

SSH config file

You can add exozyme as a Host to your .ssh/config file, so you can simply type ssh exozyme instead of the longer ssh USERNAME@exozy.me. Here is an example from @a that also forwards the SSH and GPG agents to exozyme.

Host exozyme
  HostName exozy.me
  ForwardAgent yes
  RemoteForward /run/user/1000/gnupg/S.gpg-agent /run/user/1000/gnupg/S.gpg-agent.extra