Re: scripting rsync ssh port issue

2008-04-04 Thread Paul Slootman
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

Re: scripting rsync ssh port issue

2008-04-04 Thread Matt McCutchen
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

when rsync is called with -4 or -6, pass that on to ssh [PATCH]

2008-03-04 Thread Paul Slootman
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

Re: rsync hangs when accessing through SSH (Leopard OS X)

2007-12-25 Thread Greg Loesch
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

Problem with rsync over ssh

2007-12-11 Thread Peter P GMX
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

Re: rsync hangs when accessing through SSH (Leopard OS X)

2007-12-08 Thread Alexandros Papadopoulos
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

Re: rsync hangs when accessing through SSH (Leopard OS X)

2007-12-08 Thread Greg Loesch
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

Re: rsync hangs when accessing through SSH (Leopard OS X)

2007-12-08 Thread Wayne Davison
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

Re: rsync hangs when accessing through SSH (Leopard OS X)

2007-12-07 Thread Izidor Jerebic
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

Re: rsync hangs when accessing through SSH (Leopard OS X)

2007-12-03 Thread Fabian Cenedese
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

Re: rsync hangs when accessing through SSH (Leopard OS X)

2007-12-03 Thread Izidor Jerebic
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

Re: rsync hangs when accessing through SSH (Leopard OS X)

2007-12-03 Thread Fabian Cenedese
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

rsync hangs when accessing through SSH (Leopard OS X)

2007-12-02 Thread Greg Loesch
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

Can rsync stream and compress files for transport over a socket? I've only used it over SSH. For our app, we cannot access the remote filesys UNC

2007-11-09 Thread Kurt Madsen
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

Re: SSH daemon questions

2007-10-15 Thread Matt McCutchen
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

DO NOT REPLY [Bug 4878] segfault when i386 client touches x86_64 server (no rsh/ssh) both cvs 3.0.0 today 20070813

2007-08-16 Thread samba-bugs
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

DO NOT REPLY [Bug 4878] segfault when i386 client touches x86_64 server (no rsh/ssh) both cvs 3.0.0 today 20070813

2007-08-15 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=4878 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

DO NOT REPLY [Bug 4878] New: segfault when i386 client touches x86_64 server (no rsh/ssh) both cvs 3.0.0 today 20070813

2007-08-13 Thread samba-bugs
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

Re: Failed starting rsync daemon from a remote server(ssh)

2007-05-11 Thread wenjie zheng
] ~]# 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

Re: Failed starting rsync daemon from a remote server(ssh)

2007-05-11 Thread Wayne Davison
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

Failed starting rsync daemon from a remote server(ssh)

2007-05-10 Thread wenjie zheng
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

Re: Failed starting rsync daemon from a remote server(ssh)

2007-05-10 Thread Matt McCutchen
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

Is --link-dest supported on remote ssh side?

2007-04-17 Thread Frederik
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

Re: Is --link-dest supported on remote ssh side?

2007-04-17 Thread Frederik
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

Re: How do you specify an alternate config file when using rsync with ssh?

2007-04-10 Thread rcorujo
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

How do you specify an alternate config file when using rsync with ssh?

2007-04-09 Thread rcorujo
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

Re: How do you specify an alternate config file when using rsync with ssh?

2007-04-09 Thread Matt McCutchen
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

error with rsync and ssh

2007-03-22 Thread Roberto Pereyra
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

RE: error with rsync and ssh

2007-03-22 Thread Mark Schoonover
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

Re: error with rsync and ssh

2007-03-22 Thread Roberto Pereyra
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

Re: error with rsync and ssh

2007-03-22 Thread Matthias Schniedermeyer
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

Re: error with rsync and ssh

2007-03-22 Thread Wayne Davison
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

Re: error with rsync and ssh

2007-03-22 Thread Peter
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

Tip for SSH users with connection unexpectedly closed troubles

2007-03-08 Thread Phil Hassey
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

Re: Tip for SSH users with connection unexpectedly closed troubles

2007-03-08 Thread Wayne Davison
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

rsync not working over firewall, although ssh works

2007-02-23 Thread Jean-Noël Rivasseau
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

Strange SSH with rsync

2007-02-21 Thread Dave Markham
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

Re: Strange SSH with rsync

2007-02-21 Thread Matt McCutchen
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

Re: passing rsyncd password in a script (no ssh) - how?

2007-01-10 Thread Tomasz Chmielewski
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

Re: passing rsyncd password in a script (no ssh) - how?

2007-01-10 Thread Tomasz Chmielewski
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

Re: passing rsyncd password in a script (no ssh) - how?

2007-01-10 Thread Wojtek.Pilorz
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

Re: passing rsyncd password in a script (no ssh) - how?

2007-01-10 Thread Matt McCutchen
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

Re: passing rsyncd password in a script (no ssh) - how?

2007-01-10 Thread Eberhard Moenkeberg
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

Re: passing rsyncd password in a script (no ssh) - how?

2007-01-10 Thread Wojtek.Pilorz
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

Re: passing rsyncd password in a script (no ssh) - how?

2007-01-10 Thread Wojtek.Pilorz
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

Re: [fuse-devel] cannot get fuse-ssh to operate from a batch script - but does from cmd line

2006-11-22 Thread Miklos Szeredi
. 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

cannot get fuse-ssh to operate from a batch script - but does from cmd line

2006-11-18 Thread Jason Haar
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

rsync-ssh problem

2006-11-16 Thread Paul Trevethan
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

Re: ssh catch 22

2006-11-14 Thread Ed
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

Re: ssh catch 22

2006-11-13 Thread Ed
-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

Re: ssh catch 22

2006-11-13 Thread Wayne Davison
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

ssh catch 22

2006-11-07 Thread Ed
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

Re: ssh catch 22

2006-11-07 Thread David Tonhofer
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

Re: ssh catch 22

2006-11-07 Thread Ed
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

Rsync does not work with existing remote ssh tunnel

2006-11-03 Thread rsync . 20 . maillinglist
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

rsync in an ssh tunnel as root

2006-11-02 Thread rado
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

rsync in an ssh tunnel as root

2006-11-02 Thread rado
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

DO NOT REPLY [Bug 4163] Checksum Error using ssh key authentication

2006-10-15 Thread samba-bugs
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

DO NOT REPLY [Bug 4163] Checksum Error using ssh key authentication

2006-10-13 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=4163 [EMAIL PROTECTED] changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

DO NOT REPLY [Bug 4163] Checksum Error using ssh key authentication

2006-10-12 Thread samba-bugs
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

DO NOT REPLY [Bug 4163] Checksum Error using ssh key authentication

2006-10-12 Thread samba-bugs
[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

backup system files (and permissions) over ssh

2006-10-12 Thread rsync-mail-gateway
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

Re: backup system files (and permissions) over ssh

2006-10-12 Thread Martin Schröder
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

Re: backup system files (and permissions) over ssh

2006-10-12 Thread rsync-mail-gateway
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

Re: backup system files (and permissions) over ssh

2006-10-12 Thread Martin Schröder
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

Re: backup system files (and permissions) over ssh

2006-10-12 Thread Chuck Wolber
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.

Re: backup system files (and permissions) over ssh

2006-10-12 Thread rsync-mail-gateway
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

DO NOT REPLY [Bug 4163] Checksum Error using ssh key authentication

2006-10-12 Thread samba-bugs
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

Re: backup system files (and permissions) over ssh

2006-10-12 Thread Wayne Davison
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

DO NOT REPLY [Bug 4163] New: Checksum Error using ssh key authentication

2006-10-11 Thread samba-bugs
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

DO NOT REPLY [Bug 4163] Checksum Error using ssh key authentication

2006-10-11 Thread samba-bugs
[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

Re: Individual User Auth without SSH or stand alone passwd file...

2006-10-10 Thread Bill Uhl
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

Individual User Auth without SSH or stand alone passwd file...

2006-10-09 Thread Michael Carmody
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

DO NOT REPLY [Bug 4016] literal IPv6 addresses not supported in ssh protocol

2006-09-30 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=4016 [EMAIL PROTECTED] changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|

rsync ssh installation in windows Xp

2006-09-30 Thread rsync-mail-gateway
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

DO NOT REPLY [Bug 4016] literal IPv6 addresses not supported in ssh protocol

2006-09-18 Thread samba-bugs
| --- 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

DO NOT REPLY [Bug 4016] literal IPv6 addresses not supported in ssh protocol

2006-09-18 Thread samba-bugs
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

DO NOT REPLY [Bug 4001] man page should document --server flag and SSH forced command scenario

2006-09-17 Thread samba-bugs
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

DO NOT REPLY [Bug 4016] literal IPv6 addresses not supported in ssh protocol

2006-09-17 Thread samba-bugs
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

DO NOT REPLY [Bug 4016] literal IPv6 addresses not supported in ssh protocol

2006-09-17 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=4016 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

Re: rsync through ssh - i get an error

2006-09-12 Thread rsync-mail-gateway
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

Re: rsync through ssh - i get an error

2006-09-12 Thread rsync-mail-gateway
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

rsync through ssh - i get an error

2006-09-11 Thread [EMAIL PROTECTED]
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

Re: rsync through ssh - i get an error

2006-09-11 Thread Wayne Davison
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

RE : Rsync + SSH on a different port + restricted access

2006-09-05 Thread johan.boye
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

Rsync + SSH on a different port + restricted access

2006-09-04 Thread johan.boye
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

Re: Rsync + SSH on a different port + restricted access

2006-09-04 Thread Julian Pace Ross
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

Re: Passwordless SSH messes with escaped spaces

2006-08-25 Thread Wayne Davison
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

Passwordless SSH messes with escaped spaces

2006-08-24 Thread Jannes Faber
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

Re: Passwordless SSH messes with escaped spaces

2006-08-24 Thread Matt McCutchen
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

Re: Passwordless SSH messes with escaped spaces

2006-08-24 Thread Jannes Faber
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

Re: Passwordless SSH messes with escaped spaces

2006-08-24 Thread Matt McCutchen
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

DO NOT REPLY [Bug 4023] Rsync does not copy files recursively when using ssh public key authorization and the files-from option

2006-08-18 Thread samba-bugs
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

DO NOT REPLY [Bug 4023] New: Rsync does not copy files recursively when using ssh public key authorization and the files-from option

2006-08-16 Thread samba-bugs
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

DO NOT REPLY [Bug 4023] Rsync does not copy files recursively when using ssh public key authorization and the files-from option

2006-08-16 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=4023 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

DO NOT REPLY [Bug 4016] New: literal IPv6 addresses not supported in ssh protocol

2006-08-13 Thread samba-bugs
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

Re: Rsync --link-dest over ssh not working

2006-08-11 Thread Nathan
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

Re: Rsync --link-dest over ssh not working

2006-08-10 Thread Matt McCutchen
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

DO NOT REPLY [Bug 4001] man page should document --server flag and SSH forced command scenario

2006-08-06 Thread samba-bugs
-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

DO NOT REPLY [Bug 4001] New: man page should document --server flag and SSH forced command scenario

2006-08-05 Thread samba-bugs
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

<    1   2   3   4   5   6   7   8   9   >