LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 12:50 PM   #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, 01:34 PM   #2
cgjones
Member
 
Registered: Nov 2005
Location: Central New York
Distribution: Ubuntu
Posts: 405

Rep: Reputation: 30
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, 01: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, 02:40 PM   #4
cgjones
Member
 
Registered: Nov 2005
Location: Central New York
Distribution: Ubuntu
Posts: 405

Rep: Reputation: 30
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, 03: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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 02:43 AM
kinda confused 64 bit?? N_A_J_M Linux - General 2 05-04-2006 11:58 AM
rdiff-backup problem dave`2005 Linux - Software 0 03-19-2006 04:16 PM
I am a bit confused. Igor007 Programming 2 08-25-2005 08:07 PM
Well....I'm a bit...confused Bigun Linux - General 5 06-25-2003 01:06 AM


All times are GMT -5. The time now is 09:53 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration