Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 1st July 2007, 19:11
Randy Randy is offline
Member
 
Join Date: Sep 2006
Posts: 58
Thanks: 0
Thanked 0 Times in 0 Posts
Default rsync on etch without password possible?

Hi all,
I have followed the "Mirror Your Web Site With rsync" howto of Falko my debian sarge servers without many problems. I've now also build some etch servers and I'm trying to apply the same howto. However, whatever I try (I have gone through many postings here) I keeps asking me the password for "someuser".
Has anyone gotten this howto to work on etch? And which command should I use to debug the communication of rsync / ssh so I can trace what's really happening?
Thanks in advance,

Randy
Reply With Quote
Sponsored Links
  #2  
Old 2nd July 2007, 19:07
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

I haven't tried this on Etch yet, but I don't see any reason why it shouldn't work there.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 3rd July 2007, 15:15
Randy Randy is offline
Member
 
Join Date: Sep 2006
Posts: 58
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

I have noticed that the howto doesn't work one on one in etch. If the ssh_config and sshd_config files are setup correctly, I was able to setup a user to use ssh without being prompted for a password. Also, the case with me was that I also use freenx, with the following line in sshd_config : AuthorizedKeysFile /usr/NX/home/nx/.ssh/authorized_keys2
By changing this line to: AuthorizedKeysFile %h/.ssh/authorized_keys2 ( and thus renaming authorized_keys to authorized_keys2 , other users can make use of their specific paths to the file automatically.
The strange thing is that when I set it up as noted in the rsync howto, that the ssh-server closes the connection after the public key is send. Don't know why ... Also the ip address of the sending server is then immediately placed in the hosts.deny file by denyhosts eventhough I placed it in the hosts.allow file. However when I setup rsync in a standard way (without root using someuser) it all works fine. So I got it working basically, but a bit less secure as in your howto.
Greetings,
Randy
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
rsync: opendir "/var/www/web44/web" failed: Permission denied (13) adrenalinic HOWTO-Related Questions 7 4th August 2009 13:16
RSYNC asks for password, but I followed the HOW-TO for automatic login bpmee HOWTO-Related Questions 3 9th June 2007 19:24
Debian Etch Postfix Sasl2 issues switchtower HOWTO-Related Questions 15 27th May 2007 20:05
Systemimager (rsync) doesn't copy all comedit HOWTO-Related Questions 11 19th January 2007 17:17
How to install BFD (Brute Force Detection) domino Tips/Tricks/Mods 9 31st March 2006 22:40


All times are GMT +2. The time now is 04:23.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.