SSH is running on all machines.

Access for Borg repositories

Here is a snippet to add to your ~/.ssh/config to make borg access repos through ssh with correct key and username. Replace ~/path/to/key with the correct path to the private key you use to access borg repos See borg-access-backups-from-local-computer.

You don't need this if you have root access on spica.

# Backup server
Host spica spica.tachanka.org
        HostName spica.tachanka.org
        User borgy
        IdentityFile ~/path/to/key
        ProxyCommand torsocks nc -i %h %p

Root access

Here is a snippet to add to your ~/.ssh/config to make ssh access easier. Replace ~/path/to/key with the correct path to the private key you use for s!n

With this config, you can connect to a server using only the "Host" part: ssh skwotcustom.

# backup server for s!n (console)
Host spica-console
        HostName pianeta.tachanka.org
        User spica
        IdentityFile ~/path/to/key
        ProxyCommand torsocks nc -i %h %p

# backup server
Host spica spica.tachanka.org
        HostName spica.tachanka.org
        User root
        IdentityFile ~/path/to/key
        ProxyCommand torsocks nc -i %h %p

# skwotmail
Host skwotmail
        # HostName 193.106.119.13
        HostName skwotmail.squat.net
        User root
        IdentityFile ~/path/to/key
        ProxyCommand torsocks -i nc %h %p

# skwotcustom
Host skwotcustom
        HostName 185.52.224.6
        User root
        IdentityFile ~/path/to/key
        ProxyCommand torsocks -i nc %h %p

# skwotfarm
Host skwotfarm
        HostName 185.52.224.2
        User root
        IdentityFile ~/path/to/key
        ProxyCommand torsocks -i nc %h %p