On Fri 04 Apr 2008, Sterling Windmill wrote:
I am modifying a bash script of mine to issue an rsync to a remote host with
a non-standard ssh port.
Unfortunately, no combination of bashisms seems to make it work properly.
Code snippet:
...
RSYNC_OPTIONS=-aH --delete --numeric-ids -e
Paul has addressed the errant dollar signs, the misspelled $DST, and two
possible workarounds for the quoting issue, but I would like to explain
the quoting issue a bit further.
On Fri, 2008-04-04 at 11:23 -0400, Sterling Windmill wrote:
RSYNC_OPTIONS=-aH --delete --numeric-ids -e \'ssh -p 2292
If rsync is called with -4 or -6, that option is currently ignored when
ssh is used as the transport. The attached patch is a stab at passing
the option on to the ssh process. It checks that the remote shell
program is something that looks like ssh. Perhaps that could be done
cleaner...
Paul
Wayne Davison-2 wrote:
Try some basic things:
ssh [EMAIL PROTECTED] true
The above command should not output anything at all (excepting an ssh
password prompt, if applicable). If there is any output on stdout, you
need to disable whatever is generating that output so that rsync
29.
I can remotely execute applications throungh ssh without a password. But
rsync won't run.
On the server's side rsync is running as a deamon. On both servers I
have a user copy50 who is allowed to execute /usr/bin/rsync-static
(which is linked to /usr/bin/rsync).
I get rsync error
On Sunday 02 December 2007 22:39, Greg Loesch wrote:
To preface, I'm running Leopard OSX and am using rsync version 2.6.9
protocol version 29.
Whenever I attempt to sync (using rsync obviously) a folder on my
local drive to my web server (netfirms.com is my web host) using SSH,
the process
is my web host) using SSH,
the process hangs. I have to force kill it in order to continue using
Terminal. I can connect to my server space using SSH just fine by
itself, and I ran rsync to sync two folders locally just fine. Is
there some special syntax I need to use when using rsync with SSH
things:
ssh [EMAIL PROTECTED] true
The above command should not output anything at all (excepting an ssh
password prompt, if applicable). If there is any output on stdout, you
need to disable whatever is generating that output so that rsync doesn't
get garbage trying to talk to the remote rsync
On 7.12.2007, at 17:13, Greg Loesch wrote:
Okay, I tried adding the extra v's and this is what I ended up with.
I'm now using the latest version (3.0.x or whatever it is).
FILE_STRUCT_LEN=16, EXTRA_LEN=4
cmd=NULL machine=[sitename] user=[username] path=[filepath]
cmd[0]=ssh cmd[1]=-l cmd[2
At 15:39 02.12.2007 -0500, Greg Loesch wrote:
To preface, I'm running Leopard OSX and am using rsync version 2.6.9
protocol version 29.
Whenever I attempt to sync (using rsync obviously) a folder on my
local drive to my web server (netfirms.com is my web host) using SSH,
the process hangs
is my web host) using SSH,
the process hangs. I have to force kill it in order to continue using
Terminal. I can connect to my server space using SSH just fine by
itself, and I ran rsync to sync two folders locally just fine. Is
there some special syntax I need to use when using rsync with SSH?
I've
on my
local drive to my web server (netfirms.com is my web host) using SSH,
the process hangs. I have to force kill it in order to continue using
Terminal. I can connect to my server space using SSH just fine by
itself, and I ran rsync to sync two folders locally just fine. Is
there some special syntax
To preface, I'm running Leopard OSX and am using rsync version 2.6.9
protocol version 29.
Whenever I attempt to sync (using rsync obviously) a folder on my
local drive to my web server (netfirms.com is my web host) using SSH,
the process hangs. I have to force kill it in order
I really like rsync (used to use in Linux suse 8.x over ssh).
But, now I have a java client and ASP .NET server, both on Windows ;-( ...
and they cannot assume mapped drives or UNC access to remove filesystem.
Any help would be appreciated.
Kurt Madsen
office: 813-915-1663 ext 428
On 10/13/07, Alan Cheers [EMAIL PROTECTED] wrote:
If you had multiple people making rsync backups over ssh wouldn't it be
preferred to use the single-use daemons from a security standpoint? If
multiple people use this method I would want to limit the chance of somebody
being able to grab
https://bugzilla.samba.org/show_bug.cgi?id=4878
--- Comment #2 from [EMAIL PROTECTED] 2007-08-16 08:45 CST ---
Yep. Fixed.
Thanks much.
--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA
https://bugzilla.samba.org/show_bug.cgi?id=4878
[EMAIL PROTECTED] changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
https://bugzilla.samba.org/show_bug.cgi?id=4878
Summary: segfault when i386 client touches x86_64 server (no
rsh/ssh) both cvs 3.0.0 today 20070813
Product: rsync
Version: 3.0.0
Platform: x86
OS/Version: Linux
] ~]# ssh crcdev1 su virtual -c
\/usr/local/fenbu/replication/bin/rsync -v --daemon
--bwlimit=1000
--config=/usr/local/fenbu/replication/conf/email_rsyncd.conf\
@RSYNCD: 29
The trouble is that the stdin that sshd provides to rsync is a socket,
and when rsync's stdin is a socket, rsync assumes
On Thu, May 10, 2007 at 04:42:06PM -0400, Matt McCutchen wrote:
However (attn. Wayne), it seems to me that there's no need for the
behavior because the administrator could get the same effect by
passing --server .
The combination of --daemon with --server currently indicates that rsync
is
Has anyone tried to start a rsync daemon from a remote server?
I tried to execute the following command from a remote server A, but failed
[EMAIL PROTECTED] ~]# ssh crcdev1 su virtual -c
\/usr/local/fenbu/replication/bin/rsync -v --daemon --bwlimit=1000
--config=/usr/local/fenbu/replication/conf
On 5/10/07, wenjie zheng [EMAIL PROTECTED] wrote:
Has anyone tried to start a rsync daemon from a remote server?
I tried to execute the following command from a remote server A, but failed
[EMAIL PROTECTED] ~]# ssh crcdev1 su virtual -c
\/usr/local/fenbu/replication/bin/rsync -v --daemon
I'm trying to make backups with rsync with the --list-dest option.
My first backup is made like this:
rsync -azR --delete -e ssh --exclude-from=./exclude.lst /tmp/test
[EMAIL PROTECTED]:/tmp/backup/backup-nelly-2007-04-17-12-34-26/
Without touching any of the files which were backed up, I
On 4/17/07, Frederik [EMAIL PROTECTED] wrote:
rsync -azR --delete -e ssh --exclude-from=./exclude.lst
--link-dest=/tmp/backup/nelly-2007-04-17-12-34-26 /tmp/test
[EMAIL PROTECTED]:/tmp/backup/backup-nelly-2007-04-17-12-34-33/
OK, obvious typo in the above command :-)
It works correct
Yes, that worked. Thank you very much, Matt.
Rigoberto
Matt McCutchen-3 wrote:
On 4/9/07, rcorujo [EMAIL PROTECTED] wrote:
It seems that the --config option is only used when rsync is run as a
daemon. However, it you want to run something like rsync -e ssh
--config=config_FILE
It seems that the --config option is only used when rsync is run as a
daemon. However, it you want to run something like rsync -e ssh
--config=config_FILE ... the --config option is ignored. When I run
rsync with ssh, I want to specify a different config file that contains
different modules
On 4/9/07, rcorujo [EMAIL PROTECTED] wrote:
It seems that the --config option is only used when rsync is run as a
daemon. However, it you want to run something like rsync -e ssh
--config=config_FILE ... the --config option is ignored. When I run
rsync with ssh, I want to specify a different
Hi
I running a rsync server using version 2.6.3pre1 in a Solaris 10 server.
When I try to use ssh to encrypt my data, the rsync client fails with
this message:
rsync -avz -e ssh winbox.exe [EMAIL PROTECTED]::backups
Password:
rsync: connection unexpectedly closed (0 bytes received so far
Roberto Pereyra wrote:
Hi
I running a rsync server using version 2.6.3pre1 in a Solaris 10
server.
When I try to use ssh to encrypt my data, the rsync client fails with
this message:
rsync -avz -e ssh winbox.exe [EMAIL PROTECTED]::backups
Password:
rsync: connection
Hi Mark
Yes I can ssh login and if write a wrong user/password the system
promt for a new one, without error.
Seems like a ssh issue because if I use the standard rsync port
(without shh) works well.
Thanks
roberto
2007/3/22, Mark Schoonover [EMAIL PROTECTED]:
Roberto Pereyra wrote:
Hi
Roberto Pereyra wrote:
Hi
I running a rsync server using version 2.6.3pre1 in a Solaris 10 server.
When I try to use ssh to encrypt my data, the rsync client fails with
this message:
According to documentation what you try simply isn't possible directly.
If you want transport
On Thu, Mar 22, 2007 at 06:22:11PM -0300, Roberto Pereyra wrote:
Seems like a ssh issue because if I use the standard rsync port
(without shh) works well.
Those are two different things. Without ssh, you're connecting to an
existing rsync daemon. With ssh (via -e), you're using a remote
Le Jeudi 22 Mars 2007 20:55, Wayne Davison a écrit :
On Thu, Mar 22, 2007 at 06:22:11PM -0300, Roberto Pereyra wrote:
Seems like a ssh issue because if I use the standard rsync port
(without shh) works well.
Those are two different things. Without ssh, you're connecting to an
existing
Thanks for rsync - it's great! I use it for all my backups.
I use rsync via SSH. Recently - I was having trouble with my backups:
rsync: connection unexpectedly closed (4968349 bytes received so far)
[receiver]
rsync error: error in rsync protocol data stream (code 12) at
io.c(453) [receiver
On Thu, Mar 08, 2007 at 10:32:04AM -0700, Phil Hassey wrote:
someone suggested that I add this to my ~/.ssh/config file:
ServerAliveInterval 5
ServerAliveCountMax 120
Those options only apply to protocol 2 connections (which people should
be using anyway these days). There are also settings
a firewall, I forward port 22 to the OS X
machine and port 23 to the Gentoo box. From my work machine I can correctly
use ssh to connect to both machines at home.
From my work machine I can also correctly rsync with other servers on the
Internet.
Finally, between my two machines at home rsync work
Has anyone any idea why this wont work? Its in a script and im passing
-e ${SSH} to the Rsync command where :-
SSH=$(/usr/bin/which ssh) -o ConnectTimeout=15 -o BatchMode=yes -n
The below is output from set -x for my script. Below that is the error
from errorlog
/usr/bin/rsync -PavRz --delete
On 2/21/07, Dave Markham [EMAIL PROTECTED] wrote:
Has anyone any idea why this wont work? Its in a script and im passing
-e ${SSH} to the Rsync command where :-
SSH=$(/usr/bin/which ssh) -o ConnectTimeout=15 -o BatchMode=yes -n
rsync: connection unexpectedly closed (0 bytes read so far
Tomasz Chmielewski wrote:
I want to transfer files from a Windows server running rsyncd to a local
Linux machine. It has no SSH, so I can't use keys.
(...)
What is the recommended way to copy files from a (password-protected)
rsyncd server in a script?
Looks like I should use:
export
Tomasz Chmielewski wrote:
Tomasz Chmielewski wrote:
I want to transfer files from a Windows server running rsyncd to a
local Linux machine. It has no SSH, so I can't use keys.
(...)
What is the recommended way to copy files from a (password-protected)
rsyncd server in a script?
Looks like
On Wed, 10 Jan 2007, Tomasz Chmielewski wrote:
Date: Wed, 10 Jan 2007 12:48:22 +0100
From: Tomasz Chmielewski [EMAIL PROTECTED]
Cc: rsync@lists.samba.org
Subject: Re: passing rsyncd password in a script (no ssh) - how?
Tomasz Chmielewski wrote:
I want to transfer files from a Windows
On 1/10/07, Wojtek.Pilorz [EMAIL PROTECTED] wrote:
secret_pass would no longer be secret on most systems;
Consider using --password-file instead.
I doubt that environment variables are readable by others on most
systems. On my Linux 2.6.18 system, a process's environment
variables are only
Hi,
On Wed, 10 Jan 2007, Matt McCutchen wrote:
On 1/10/07, Wojtek.Pilorz [EMAIL PROTECTED] wrote:
secret_pass would no longer be secret on most systems;
Consider using --password-file instead.
I doubt that environment variables are readable by others on most
systems. On my Linux 2.6.18
On Wed, 10 Jan 2007, Matt McCutchen wrote:
Date: Wed, 10 Jan 2007 17:35:55 -0500
From: Matt McCutchen [EMAIL PROTECTED]
To: Wojtek.Pilorz [EMAIL PROTECTED]
Cc: Tomasz Chmielewski [EMAIL PROTECTED], rsync@lists.samba.org
Subject: Re: passing rsyncd password in a script (no ssh) - how?
On 1
On Wed, 10 Jan 2007, Eberhard Moenkeberg wrote:
Date: Wed, 10 Jan 2007 23:42:46 +0100 (CET)
From: Eberhard Moenkeberg [EMAIL PROTECTED]
To: rsync@lists.samba.org
Subject: Re: passing rsyncd password in a script (no ssh) - how?
Hi,
On Wed, 10 Jan 2007, Matt McCutchen wrote:
On 1/10/07
. sshfs reports
read: Connection reset by peer
The remote ssh server shows the successful connection - it shows
subsystem request for sftp followed immediately by session closed for
user usern
So it appears that it isn't an SSH authentication problem - but
something else. This is on a FC5
reports
read: Connection reset by peer
The remote ssh server shows the successful connection - it shows
subsystem request for sftp followed immediately by session closed for
user usern
So it appears that it isn't an SSH authentication problem - but
something else. This is on a FC5 box - but I
I am having a real nightmare getting automated login with ssh to work;
hoping someone can guide me. I am running Ubuntu 6.10.
I have a main machine (called greywolf) which has a partition for
my /home on it. I am doing backups to an extrnal usb drive attached to
a Linksys NSLU2 (called slug
with that in mind do:
1) on the destination, create an ssh key and export the public key to the
source
2) edit the source authorized_keys where you put your pub key and add the
following at the start of the key:
from=192.168.252.2,command=/usr/local/bin/valid_rsync.sh ssh-rsa ...
2a) make sure your
-forwarding,no-pty
ssh-rsa [BASE64-encoded data of public key]
This will cause rsync in server mode to show up on the server side of
the encrypted connection.
Now you can configure what is possible and not through /foo/rsyncd.conf,
e.g. allow read only,
chrooting etc.
However
On Tue, Nov 07, 2006 at 07:19:31PM +0100, Ed wrote:
b) in the certificate, I specified the command that could be run... the likes
of: command=rsync -av ./source [EMAIL PROTECTED]:/destination ssh-rsa
It's completely invalid to specify a client command when expecting a
server command. Just run
Hi all,
I'm stuck with a little dilemma and I thought someone could give me a little
advice.
Is there a way to use rsync with an ssh certificate?
what I have:
First of all I am forced to use the root account with ssh which I know is a
big no, no, but sometimes it can't
Ed wrote:
Hi all,
I'm stuck with a little dilemma and I thought someone could give me a little
advice.
Is there a way to use rsync with an ssh certificate?
There should be
what I have:
First of all I am forced to use the root account with ssh which I know is a
big
On Tuesday 07 November 2006 22:53, you wrote:
...snip...
You want to run the rsync command upon connection. Try to use:
command=/usr/bin/rsync --server --daemon --config=/foo/rsyncd.conf .
,no-port-forwarding,no-agent-forwarding,no-X11-forwarding,no-pty
ssh-rsa [BASE64-encoded data
Hi folks,
I have the following problem.
I have installed
1.) a rsync daemon on a windows machine under cygwin
2.) installed a tunnel via ssh from the remote machine to my pc
3.) I could run rsync from the remote machine to make bakups
On the remote machine and on my pc I have rsync version
rewind...I found something in the docs there might even be more.
I wanna see what I can do w/the doc stuff first.
thx y'all
John Rose
--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
whew I dunno bout the subject but here's what I want to do
I use rsync automatically thru scripts.
but I do this wrong and I want to get my act together
I was/am set to do ssh root login but I want to do away w/this.
rather, I want to be able to let rsync do it's thing and do a full
backup
https://bugzilla.samba.org/show_bug.cgi?id=4163
--- Comment #6 from [EMAIL PROTECTED] 2006-10-15 11:23 MST ---
For completeness sake, I'll also mention that the rrsync script in the support
directory is one way to run a forced-command ssh setup without resorting to
daemon mode
https://bugzilla.samba.org/show_bug.cgi?id=4163
[EMAIL PROTECTED] changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|
https://bugzilla.samba.org/show_bug.cgi?id=4163
--- Comment #2 from [EMAIL PROTECTED] 2006-10-12 02:16 MST ---
I did try the savetransfer program as you suggest.
The first two commands (for the push rsync) are being used.
The stream of data are logged in the client side, but none
[EMAIL PROTECTED] 2006-10-12 04:53 MST ---
I think I know why it fails with ssh automatic key authentication.
I used the command option in the file authorized_keys.
When it is set, sshd will ignore the the command supplied by the user (rsync,
in this case).
Instead, sshd will take the command
how do you backup system files like /etc/ over ssh to another machine
and keep permissions the same on the remote backup location ?
i tried using -a flag, but because i'm connecting through ssh i'm not using Rsync module on the remote computer and therefore i cant write files as root so
2006/10/12, [EMAIL PROTECTED] [EMAIL PROTECTED]:
is there a way to do what i'm trying WITHOUT giving root ssh access ?
With root: http://www.jdmz.net/ssh/
Without root: Use a non-root account and use passwordless sudo in the script.
Best
Martin
--
To unsubscribe or change options: https
Quote:
"Without root: Use a non-root account and use passwordless sudo in the script."
sounds interesting, can you explain how am i suppose to do that ?
who runs the script ? when ?
thanks
Read this topic online here:
Sent using Mail2Forum
2006/10/12, [EMAIL PROTECTED] [EMAIL PROTECTED]:
Quote:
Without root: Use a non-root account and use passwordless sudo in the
script.
sounds interesting, can you explain how am i suppose to do that ?
who runs the script ? when ?
See the url I provided. :-)
Best
Martin
--
To unsubscribe
On Thu, 12 Oct 2006, [EMAIL PROTECTED] wrote:
Quote: Without root: Use a non-root account and use passwordless sudo
in the script.
sounds interesting, can you explain how am i suppose to do that ? who
runs the script ? when ?
Check the man page for the sudoers file: man 5 sudoers.
martin at oneiros.de wrote: 2006/10/12, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
Quote: Quote:
"Without root: Use a non-root account and use passwordless sudo in the
script."
sounds interesting, can you explain how am i suppose to do that ?
who runs the script ? when ?
See
to the server ?
Yes, a single-use rsync daemon invoked over SSH does just this. To set one up,
create an rsyncd.conf in the home directory of the account accessed over SSH,
and force the command rsync --daemon --server . in the authorized_keys file.
If you want to put rsyncd.conf in a different
On Thu, Oct 12, 2006 at 12:19:14PM +0200, [EMAIL PROTECTED] wrote:
how do you backup system files like /etc/ over ssh to another machine
and keep permissions the same on the remote backup location ?
One possibility you can try is to use a program that lets rsync pretend
to be root
https://bugzilla.samba.org/show_bug.cgi?id=4163
Summary: Checksum Error using ssh key authentication
Product: rsync
Version: 2.6.6
Platform: x86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P3
[EMAIL PROTECTED] 2006-10-11 22:42 MST ---
rsync doesn't care what ssh options you use as long as (1) ssh doesn't output
anything to stdout, and (2) ssh passes through all character sequences, without
exception (i.e. you must not trigger the interactive escapes).
See the savetransfer.c program
to accept password logins and accept
logins from all of your users. sshd should be able to use pam or
whatever password backend your system has set up. Each user might have a
~/.ssh/ dir, if needed. Try to lock down access to the sshd to the local
net if you are accepting passwords.
You could put
Hey All,
We have our linux server integrated with our WindowsAD via nss_ldap and
pam_ldap and everything is working fine. We are hoping to use rsync to backup
user specified directories to the network drives.
Now rsync only seems to use auth when using SSH, or when using a static passwd
file
https://bugzilla.samba.org/show_bug.cgi?id=4016
[EMAIL PROTECTED] changed:
What|Removed |Added
Status|REOPENED|RESOLVED
Resolution|
hi,
i trying to install rsync and ssh in windows Xp machine, while generating
ssh key generation bat file, iam getting following error messages,
Could not create directory '//.ssh'.
Initializing random number generator...
execv /bin/sh failed: No such file or directory
execv /bin/sh
|
--- Comment #3 from [EMAIL PROTECTED] 2006-09-18 05:16 MST ---
Unfortunately, ssh will not accept hostnames within brackets (I think it should
be more liberal in what it accepts), so you need to strip both '[' and ']'.
--
Configure bugmail: https
https://bugzilla.samba.org/show_bug.cgi?id=4016
--- Comment #4 from [EMAIL PROTECTED] 2006-09-18 05:21 MST ---
(By the way, on most systems - Linux, FreeBSD, OpenBSD, etc. - you might be
able to test IPv6, even without a global IPv6 address, just by loading the
module at boot and
also mentions the support/rrsync
script, which provides an example script for use with a restricted ssh login.
--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact for the bug, or are watching the QA
that skips the leading '[' before handing the
hostname off to ssh. I believe that this should work OK, but I can't test it
at the moment (since I can't test IPv6 at the moment). The other option would
be to leave the leading '[' stripped and to add stripping of the trailing ']'.
--
Configure
https://bugzilla.samba.org/show_bug.cgi?id=4016
[EMAIL PROTECTED] changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
hello,
1) ssh is the default protocol of rsync since 2.6.0, so if you are using a new version you should not have to worry about it.
2) check that you used the command as following:
rsync -e ssh @:~/
that should do the trick (worked for me)
m2f
i got the reply through mailing list and saw that not all came through...
so again:
1) ssh is the default protocol of rsync since 2.6.0, so if you are using a new version you should not have to worry about it.
2) check that you used the command as following:
rsync flags -e ssh local_dir
hello,
i'm
trying to use rsync thtough ssh, with -e ssh flag,
but
i get the following errors:
rsync:
read error: Connection reset by peer (104)
rsync
error: error in rsync protocol data stream (code 12) at io.c(584)
what does that mean ?
how can i fix it ?
thank you
On Mon, Sep 11, 2006 at 01:31:00PM +0200, [EMAIL PROTECTED] wrote:
rsync: read error: Connection reset by peer (104)
This means the socket closed. Does rsync even get started on the remote
system? That would be the first thing to investigate. If it is getting
run, does the remote process
Title: RE : Rsync + SSH on a different port + restricted access
Thanks, it worked nice !
Best regards
Johan
Message d'origine
De: Julian Pace Ross [mailto:[EMAIL PROTECTED]]
Date: lun. 04/09/2006 10:14
À: BOYE Johan
Cc: rsync@lists.samba.org
Objet : Re: Rsync + SSH
Title: Rsync + SSH on a different port + restricted access
Hello,
I'm trying to setup Rsync over SSH with openSSH running port with a remote RSA public key authentification and a restricted shell to avoid the user to browse my server via SSH, only be able to run rsync server.
1) i've
I found that adding the following at the beginning of the key on recv. side works perfectly for me with any rsync command on the sending side.
from=10.1.1.1,command=/home/remoteuser/cron/validate-rsync ssh-dss B3Nza
C1kc3MAAAEBAKYJenaYvMG3nHwWxK... etc...then create the file validate-rsync
On Thu, Aug 24, 2006 at 06:24:58PM +0200, Jannes Faber wrote:
I found several example scripts, but they all give me the same problem:
paths with spaces in them get split up into 2 separate source file names
(spaces are properly escaped of course and things work fine without
command=).
Note
Hi,I'm trying to use rsync through ssh to pull files from PCs that need to be backup up. I set up the passwordless authentication and things work fine there.However there's a problem when I try to seal off the SSH access to restrict it to limited rsync only using the command= in authorized_keys
So really, your goal is to somehow get back from $SSH_ORIGINAL_COMMAND
the original arguments, check that the first three are what they
should be, and then execute the command line without further
expansion. Since $SSH_ORIGINAL_COMMAND doesn't give you any way to
tell spaces between arguments
Hi,
Thanks for your answer.
Yes that's what I want to do. Well luckily I can tell normal spaces
apart from escaped ones because the \ is still there (unless there are
really weird file names that screw that up).
I thought I had actually tried exec [EMAIL PROTECTED] (you think enjoy typing
Now that I step back and think about it, your needs would be better
met by a single-use daemon invoked through SSH. The invoked command
line is always rsync --server --daemon ., so you can force this
exact command in authorized_keys instead of using a separate script.
(The actual rsync arguments
https://bugzilla.samba.org/show_bug.cgi?id=4023
--- Comment #2 from [EMAIL PROTECTED] 2006-08-18 19:23 MST ---
Right, the man page says that -a doesn't imply -r when --files-from is enabled.
If you can reproduce the incorrect behavior of recursing even without -r and
you have rsync
https://bugzilla.samba.org/show_bug.cgi?id=4023
Summary: Rsync does not copy files recursively when using ssh
public key authorization and the files-from option
Product: rsync
Version: 2.6.8
Platform: x86
OS/Version: Linux
https://bugzilla.samba.org/show_bug.cgi?id=4023
[EMAIL PROTECTED] changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
https://bugzilla.samba.org/show_bug.cgi?id=4016
Summary: literal IPv6 addresses not supported in ssh protocol
Product: rsync
Version: 2.6.9
Platform: All
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P3
I ended up scrapping the whole thing and using somebody elses rsync command,
I'll paste in the command I'm using now that does work.
Also, this is on a Mac, with rsync version 2.6.3 protocol version 28
rsync -e 'ssh -i $HOME/.ssh/id_rsa -l root' -azxH --numeric-ids
--include-from=$HOME/.rsync
On 8/1/06, Nathan [EMAIL PROTECTED] wrote:
sudo rsync --dry-run -e 'ssh -l root' --delete -auE \
--link-dest=../backup.0 \
/Users/frizop/ \
10.0.1.127:/home/rsync/Laptop-Backup/backup.1/
What happens is rather then check backup.0, it picks up /root (on the remote
side) as the dest and wants
-setup SSH-based synching and how to retrieve the forced
command. However, I would not tutor the user on setting up SSH keys etc. in the
man page.
--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the QA contact
https://bugzilla.samba.org/show_bug.cgi?id=4001
Summary: man page should document --server flag and SSH forced
command scenario
Product: rsync
Version: 3.0.0
Platform: All
OS/Version: All
Status: NEW
201 - 300 of 831 matches
Mail list logo