SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Automate SSH passphrase login during rdiff-backup
Author Message
Post Automate SSH passphrase login during rdiff-backup 
Does rdiff-backup have some facility to specify the ssh passphrase
automatically during a cron? Has anyone had to set it up like this? I
realize that the solution will likely be less secure but one of the
requirements is that the key must have a passphrase.. Willing to use
bash or perl

_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users < at > nongnu.org
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

Post Automate SSH passphrase login during rdiff-backup 
On Wednesday, June 30, 2010, 22:45:28, Justin Holleb wrote:

Does rdiff-backup have some facility to specify the ssh passphrase
automatically during a cron? Has anyone had to set it up like this? I
realize that the solution will likely be less secure but one of the
requirements is that the key must have a passphrase.. Willing to use
bash or perl

Use ssh keys - run "ssh-keygen rsa" on the side that's invoking ssh,
and copy the contents of the generated .pub file to
~/.ssh/authorized_keys on the side you're connecting to (don't set any
passphrase for the private key).

--
< Jernej Simoni ><><><><>< http://eternallybored.org/ >

Don't take life too seriously; you won't get out of it alive.
-- Hubbard's Law


_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users < at > nongnu.org
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

Post Automate SSH passphrase login during rdiff-backup 
On 30. junij 2010, 23:24:15, Justin Holleb wrote:

I realize this is ideal, but unfortunately I am required to issue the
key with a passphrase. I've tried to explain the inelegance of this
solution but sometimes things cannot be changed =)

Take a look at SSH_ASKPASS environment variable then:
<http://www.derkeiler.com/Newsgroups/comp.security.ssh/2005-02/0087.html>

--
< Jernej Simončič ><><><><><><><><><><><>< http://eternallybored.org/ >

Because 10 billion years' time is so fragile, so ephemeral...
it arouses such a bittersweet, almost heartbreaking fondness.


_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users < at > nongnu.org
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB