How can I improve secure SSH for Backup access?

To make backups of your server Tilaa needs root access via SSH. Below you can read how to properly secure it.

Securing your SSH for Backup access

In order to make backups of your server, we need root access via SSH. We need password access once, to add our public RSA key to your system. After that, we will use key based authentication, restricted to only use rsync.

To improve security, you could modify the sshd config and set:

PermitRootLogin forced-commands-only

Please mind, setting this can lock you out of your server if you have no other account to login!

Please do not remove our key from /root/.ssh/authorized_keys or remove this file, doing so will make it impossible for us to make backups! We use this to store our backup servers' SSH keys, which are needed to gain access to the server. 

Was this article helpful?
1 out of 1 found this helpful

Comments

0 comments

Article is closed for comments.

Articles in this section