I do not want to save the password in clear-text and would like to connect to the server with the ssh-key. Is it possible to direct sbackup to use a key how it would be done using "ssh -i directory/id_rsa user@address"?
Thanks for help.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
sbackupd (the script that actually does the backing up) calls GnomeVFS as the root user, so it should work if you set up passwordless (key-based) authentication for the root user. So try copying that id_rsa file to /root/.ssh/ and see if that works. I have not tried it myself.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for the quick answer.
I tried this and it works correctly. The drawback of this solution is, that I must grant root-access on the server.
Is there no way to tell sbackup to use a specific key-file of a user? The best would be, if sbackup tried to use the key-file of the specified user in the ssh-string.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I do not want to save the password in clear-text and would like to connect to the server with the ssh-key. Is it possible to direct sbackup to use a key how it would be done using "ssh -i directory/id_rsa user@address"?
Thanks for help.
sbackupd (the script that actually does the backing up) calls GnomeVFS as the root user, so it should work if you set up passwordless (key-based) authentication for the root user. So try copying that id_rsa file to /root/.ssh/ and see if that works. I have not tried it myself.
Thanks for the quick answer.
I tried this and it works correctly. The drawback of this solution is, that I must grant root-access on the server.
Is there no way to tell sbackup to use a specific key-file of a user? The best would be, if sbackup tried to use the key-file of the specified user in the ssh-string.
I assume that you can use such configuration:
Client:
/root/.ssh/id_dsa
destination url - ssh://somemuser@server/remote/dir/
Server:
/home/someuser/.ssh/authorized_keys <-- id_dsa.pub