15 SSH
Anthony Wang edited this page 2024-01-20 11:12:01 -05:00

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. To get KDE apps to display the correct theme, set the environment variables XDG_CURRENT_DESKTOP=KDE and KDE_SESSION_VERSION=5.

If you use Wayland, you can try Waypipe, which may have better performance. Set the environment variable QT_QPA_PLATFORM=wayland.

SOCKS proxy

You can route your internet traffic through exozyme using SOCKS (a bit like a VPN but simpler). First, start the SOCKS proxy using ssh -D 8080 exozy.me. Now configure your web browser to use the SOCKS proxy at localhost:8080.

ngrok alternative

You can use SSH reverse port forwarding to make a port on your local machine publicly available on the internet. If you would like to expose port 8000 on your local machine, just run ssh -R /srv/http/subdomain:localhost:8000 exozy.me and it will be accessible at https://subdomain.exozy.me.