Rsync over SSH

This is a discussion on Rsync over SSH within the Rsync forums, part of the Networking and Network Related category; Hi, I have been trying using Rsync over SSH connections. Without SSH, I can achieve my objectives. But once SSH ...


Go Back   Usenet Forums > Networking and Network Related > Rsync

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-18-2004
YM Tan
 
Posts: n/a
Default Rsync over SSH

Hi,

I have been trying using Rsync over SSH connections. Without SSH, I
can achieve my objectives.

But once SSH comes in, I always got error like: "bash: line 1: rsync:
command not found"

I have set the path to SSH in my Bash shell so that all remote SSH
sessions can access to rsync without explicitly specify the path.

Did anyone face the same issue? Any suggestion or advice is greatly
welcome.

Thank you!

regards,
YM
Reply With Quote
  #2 (permalink)  
Old 07-21-2004
jampier
 
Posts: n/a
Default Re: Rsync over SSH

I think you have to add --rsync-path=/usr/local/bin/rsync to your
rsync command line. This happend because rsync need to know where the
remote rsync is located. Also, check the line bellow and see how you
need set your rsync command.

$ rsync -azupogr -e ssh --progress --delete
--rsync-path=/usr/local/bin/rsync /etc/init.d /etc/passwd
remote_user@remote_hosts:/dest_directory




tanym@time.net.my (YM Tan) wrote in message news:<e71f8c93.0407180542.2ed280d3@posting.google. com>...
> Hi,
>
> I have been trying using Rsync over SSH connections. Without SSH, I
> can achieve my objectives.
>
> But once SSH comes in, I always got error like: "bash: line 1: rsync:
> command not found"
>
> I have set the path to SSH in my Bash shell so that all remote SSH
> sessions can access to rsync without explicitly specify the path.
>
> Did anyone face the same issue? Any suggestion or advice is greatly
> welcome.
>
> Thank you!
>
> regards,
> YM

Reply With Quote
Reply


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

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:20 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0