LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-14-2007, 11:50 AM   #1
TheFourthDoctor
LQ Newbie
 
Registered: Jun 2007
Distribution: OpenSuse
Posts: 8

Rep: Reputation: 0
Question rdiff-backup and ssh - I'm a bit confused


I'm setting up an unattended rdiff-backup scheme and using Dean Gaudet's guide as, well, a guide. On the same wiki I also found an article that gave some instructions on how to modify that guide to use an alternate key. This supposedly fixes an issue whereby if you are logged onto the backup host and then ssh (from the shell) into one of the client machines as root, you end up invoking the rdiff-backup.

Reading the original guide some more, however, I see that it uses an ssh config alias to make the connection. Shouldn't this obviate the need for the alternate key? Am I missing something? Can someone explain this issue to me?
 
Old 08-14-2007, 12:34 PM   #2
cgjones
Member
 
Registered: Nov 2005
Location: Central New York
Distribution: Ubuntu
Posts: 405

Rep: Reputation: 31
It appears that both guides are using a specific identity for the rdiff-backup, they are just using different methods.

Either way you implement it, you would need an alternate key if you want to be able to use public key authentication without having the rdiff-backup command run.
 
Old 08-14-2007, 12:58 PM   #3
TheFourthDoctor
LQ Newbie
 
Registered: Jun 2007
Distribution: OpenSuse
Posts: 8

Original Poster
Rep: Reputation: 0
Are you saying that if I simply follow the original guide then I should be fine? That's what I understood after reading them closely. Not being an expert in either rdiff-backup or ssh, I thought that perhaps there was something that I was missing.
 
Old 08-14-2007, 01:40 PM   #4
cgjones
Member
 
Registered: Nov 2005
Location: Central New York
Distribution: Ubuntu
Posts: 405

Rep: Reputation: 31
I don't have any experience with rdiff-backup, but the SSH part of the original guide makes sense to me. Give it a try and let me know if you run into any problems.
 
Old 08-14-2007, 02:24 PM   #5
TheFourthDoctor
LQ Newbie
 
Registered: Jun 2007
Distribution: OpenSuse
Posts: 8

Original Poster
Rep: Reputation: 0
It worked. If I try to ssh as the backup user to root on the host "client" I get prompted for a password as I would expect. However, following the guide, if I create the ssh alias "backup-client" as described, the backup user can connect without a password. Many thanks!
 
  


Reply

Tags
rdiff, ssh



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
64 bit linux - confused about 32 bit apps babysnake Linux - Software 2 08-21-2006 01:43 AM
kinda confused 64 bit?? N_A_J_M Linux - General 2 05-04-2006 10:58 AM
rdiff-backup problem dave`2005 Linux - Software 0 03-19-2006 03:16 PM
I am a bit confused. Igor007 Programming 2 08-25-2005 07:07 PM
Well....I'm a bit...confused Bigun Linux - General 5 06-25-2003 12:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration