Skip to content
  • Micah Anderson's avatar
    setup the backupninja module to enable specification of the location · d418a919
    Micah Anderson authored
    of the ssh authorized_keys directories and files so that if you are
    not using the standard location for authorized_keys files
    ($HOME/.ssh/authorized_keys) and instead using the
    /etc/ssh/sshd_config option "AuthorizedKeysFile" you can then specify
    where that will be.
    For example, if your /etc/ssh/sshd_config has:
    AuthorizedKeysFile /etc/ssh/authorized_keys/$u
    then you could specify in the rdiff-backup definition the following
            ssh_dir => "/etc/ssh/authorized_keys",
            authorized_keys_file => "${hostname}",
    to create the file /etc/ssh/authorized_keys/${hostname} instead of the
    default location (if unspecifed, the default is used).