TeamPanel

Add SSH key

For the backup script to access the server, an SSH key from Team-Panel must be added to the server.

First, connect to your Linux server and run sudo nano /etc/ssh/sshd_config. Look for the following lines:

#PubkeyAuthentication yes

# Expect .ssh/authorized_keys2 to be disregarded by default in future.
#AuthorizedKeysFile     .ssh/authorized_keys .ssh/authorized_keys2

Remove the # from these lines so they look like this:

PubkeyAuthentication yes

# Expect .ssh/authorized_keys2 to be disregarded by default in future.
AuthorizedKeysFile     .ssh/authorized_keys .ssh/authorized_keys2

Once that is done, you can close the nano terminal with
Ctrl + X, Y (Windows) and Enter or ⌘ + X, Y and Enter (Mac).

Next, run sudo nano ~/.ssh/authorized_keys and paste the Team-Panel SSH key shown on the creation page. You can close the nano terminal here as well with Ctrl + X, Y (Windows) and Enter or ⌘ + X, Y and Enter (Mac).