View Single Post

  #4 (permalink)  
Old 10-24-2007, 01:10 AM
monk's Avatar
monk monk is offline
Senior Member
User
 
Join Date: Jan 2005
Location: Tibet
My distro: Debian GNU/Linux
Posts: 482
Rep Power: 5
monk will become famous soon enough monk will become famous soon enough
Default

Well, you must run this command as web server user. You may be login as user foo using putty, but webserver run as nobody or apache or www-data user (depends upon Linux distro). So you need to configure ssh keys for your web server user too.

Code:
rsync -v -e ssh user@remoteserver.com:~/back/file.tar.gz /home/user/www/1
Another option is sudo
__________________
May the force with you!
Reply With Quote