Re: Rsync / ssh high cpu load

2012-12-06 Thread 李如其
17 februari 2010 23:17 Aan: 'rsync at lists.samba.org' Onderwerp: RE: Rsync / ssh high cpu load Hi again, Still working on this one. When I rsync/ssh a big file to my server over the local network (100Mbit/s) with the --bwlimit=1000 I only have a small CPU load. SSH takes about 10% and rs

RE: Rsync / ssh high cpu load

2010-02-18 Thread Jan Alphenaar
Hi, Today I did another interesting test in an attempt to resolve this issue. With Microsoft Process Explorer (downloadable from the Microsoft website) it is possible to 'pause' and 'resume' processes. When I start a rsync/ssh session to my server and pause the SSH proces

RE: Rsync / ssh high cpu load

2010-02-17 Thread Jan Alphenaar
Hi again, Still working on this one. When I rsync/ssh a big file to my server over the local network (100Mbit/s) with the --bwlimit=1000 I only have a small CPU load. SSH takes about 10% and rsync approximately 0-5%. In the end the transfer speed usually is around the value I set in bwlimit

Re: Rsync / ssh high cpu load

2010-02-17 Thread Eberhard Moenkeberg
Hi, On Thu, 18 Feb 2010, Henri Shustak wrote: Although there is a small version difference in the rsync versions, I would say that this is caused by the cygwin layer. When using rsync over SSH you may find that the CPU load is substantial depending upon multiple factors including but not lim

Re: Rsync / ssh high cpu load

2010-02-17 Thread Henri Shustak
> Although there is a small version difference in the rsync versions, I would > say that this is caused by the cygwin layer. When using rsync over SSH you may find that the CPU load is substantial depending upon multiple factors including but not limited to your processor, disks and network. Ho

RE: Rsync / ssh high cpu load

2010-02-17 Thread Jan Alphenaar
februari 2010 17:31 Aan: 'rsync@lists.samba.org' Onderwerp: Rsync / ssh high cpu load Hi everybody, I am using Cygwin rsync/ssh to synchronize my files from my home computer to my server. I raised a question on the Cygwin list as well, but thought this list would be appropriate too. Th

Rsync / ssh high cpu load

2010-02-16 Thread Jan Alphenaar
Hi everybody, I am using Cygwin rsync/ssh to synchronize my files from my home computer to my server. I raised a question on the Cygwin list as well, but thought this list would be appropriate too. The issue is that the CPU on the sending side is fully allocated by rsync/ssh (both taking 50

Re: rsync/ssh many different users

2009-07-19 Thread Andrew Gideon
On Thu, 16 Jul 2009 08:47:17 -0700, Laurent Luce wrote: > I am looking into redundancy now. Does anyone use a similar setup and > has redundancy. I am looking for some advices. I'm not clear to what redundancy you're referring. Files common to multiple clients? Files unchanged from copy to cop

rsync/ssh many different users

2009-07-16 Thread Laurent Luce
Hello, I am using rsync over ssh to sync files between a high number of windows clients and 1 linux server. I have one ssh account per client on the server. I am looking into redundancy now. Does anyone use a similar setup and has redundancy. I am looking for some advices. Regards, Laurent -

Re: Pipe creation problem: From Java app using rsync + ssh on windows with cygwin

2009-03-25 Thread Derek OKeeffe
Thanks Michael, Yes Its outputing to the java Process's input stream. This normally works. It works fine in linux. Maybe a problem with cygwin... I tried removing the -progress to see if it would help but to no avail. I think its happening when rsync is opening the ssh pipe to the remote host. D

Pipe creation problem: From Java app using rsync + ssh on windows with cygwin

2009-03-25 Thread Derek OKeeffe
Hello, I'm having trouble calling rsync from java on windows vista with cygwin installed. Its strange as pasting the exact same command into a command shell works fine. My test java call looks like this. * String[] envVars = {"PATH=c:/cygwin/bin;%PATH%"}; File workingDir = new File("c:/cygwin/bin

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

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 --nu

scripting rsync ssh port issue

2008-04-04 Thread Sterling Windmill
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 \'ssh -p 2292\'" RSYNC="ionice -c3 rsync $RSYNC_OPTIO

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) runni

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 fa

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 + S

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 creat

Rsync + SSH on a different port + restricted access

2006-09-03 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)

Re: Post-Win2k3 Upgrade rsync+ssh Permissions Problem

2006-05-12 Thread Ernest . Mueller
cc est.mueller=ni.co rsync@lists.samba.org [EMAIL PROTECTED] Subject Re: Post-Win2k3 Upgrade rsync+ssh

Re: Post-Win2k3 Upgrade rsync+ssh Permissions Problem

2006-05-11 Thread Matt McCutchen
On Tue, 2006-05-09 at 13:02 -0500, [EMAIL PROTECTED] wrote: > After the upgrade, new files getting synced over were unreadable by the Web > server. > > Here's what the permissions look like: > > -rwxr-+ 1 Administrators mkpasswd864 Jun 9 1999 yes.gif > -rwxr-+ 1 544 401

Post-Win2k3 Upgrade rsync+ssh Permissions Problem

2006-05-09 Thread Ernest . Mueller
Hi all. OK, so I have a mostly Solaris infrastructure with a group of Windows 2000 server boxes. I installed Cygwin rsync/ssh on them and have been using it to keep Web images up to date by pushing them from a central server thus: /usr/local/bin/rsync -e ssh -vrtz --delete --rsync-path=c

RE: rsync, ssh and DSA key

2006-04-06 Thread khabot
have 'almost' the same version of OpenSSH/SSL and > RSYNC on both computers... > > Good luck > > Johan > > > -Message d'origine- > > De : [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] De la > > part de Shachar Shemesh > >

RE: rsync, ssh and DSA key

2006-04-06 Thread johan.boye
de Shachar Shemesh > Envoyé : jeudi 6 avril 2006 13:52 > À : khabot > Cc : rsync@lists.samba.org > Objet : Re: rsync, ssh and DSA key > > khabot wrote: > > >Thanks for your response > >I have done this, but I execute > > > > >

Re: rsync, ssh and DSA key

2006-04-06 Thread Shachar Shemesh
khabot wrote: >Thanks for your response >I have done this, but I execute > > >>>rsync -avz -e ssh [EMAIL PROTECTED]:/var/mail/ /var/mail >>> >>> >It still askin me for the root password in 10.78.0.117 and for the >passphrase i, 10.78.0.107 >thank you to help > > Your problem probably has

Re: rsync, ssh and DSA key

2006-04-06 Thread khabot
Thanks for your response I have done this, but I execute > > rsync -avz -e ssh [EMAIL PROTECTED]:/var/mail/ /var/mail It still askin me for the root password in 10.78.0.117 and for the passphrase i, 10.78.0.107 thank you to help On Wed, 2006-04-05 at 20:23, Bob Hutchinson wrote: > On Wednesday 05

Re: rsync, ssh and DSA key

2006-04-05 Thread Bob Hutchinson
On Wednesday 05 Apr 2006 16:41, khabot wrote: > hi all > I have generated the key in the source server(10.78.0.107) > ssh-keygen -t dsa -C "[EMAIL PROTECTED]" > I have added this key to authorized_keys2 of the destination > server(10.78.0.117) > cat id_dsa.pub >> /root/.ssh/authorized_keys2 check

rsync, ssh and DSA key

2006-04-05 Thread khabot
hi all I have generated the key in the source server(10.78.0.107) ssh-keygen -t dsa -C "[EMAIL PROTECTED]" I have added this key to authorized_keys2 of the destination server(10.78.0.117) cat id_dsa.pub >> /root/.ssh/authorized_keys2 but when I execute rsync -avz -e ssh [EMAIL PROTECTED]:/var/mail

cygwin rsync ssh hang. Solved?

2005-04-13 Thread Mike
The legendary cygwin/rsync/ssh hang problem. I have been tracking this for a while now and can say that the latest cygwin install appears to have fixed the problem on one of the setups that has consistantly failed in the past. Have not put the update on to any production boxes yet, but it

Re: Fwd: Re: rsync + ssh -o -p -g -l

2005-03-06 Thread Wayne Davison
On Sun, Mar 06, 2005 at 10:45:01AM -0600, michael mendoza wrote: > [EMAIL PROTECTED] desc]# du -sh > 52K . > > machine:/home/mike/Desktop/desc# du -sh > 24K . > > I don't understeint that, why? in the source is 52 k > and in the destination is 24k John mentioned the various things that

Re: Fwd: Re: rsync + ssh -o -p -g -l

2005-03-06 Thread michael mendoza
Hi, i don't write so much englisk, look at this> ~in the same line #rsync -avz --stats -e ssh desc ~ [EMAIL PROTECTED]:/home/mike/Desktop/ Password: building file list ... done desc/ desc/prueba/ desc/prueba/a desc/prueba/b desc/prueba/p/ desc/prueba/p/c desc/prueba1.tar Number of files: 7 Numb

Re: Fwd: Re: rsync + ssh -o -p -g -l

2005-03-05 Thread John Van Essen
(Email attachment quoted for the benefit of the mail archive...) On Thu, 3 Mar 2005, michael mendoza <[EMAIL PROTECTED]> wrote: > > Hi, thank again. > > I used rsync today to copy 400 MB from a pc to other > pc with rsync -avz -e ssh SourceDir > [EMAIL PROTECTED]:/dirDest/ > > but in the source

Fwd: Re: rsync + ssh -o -p -g -l

2005-03-03 Thread michael mendoza
Nota: Se adjuntó el mensaje reenviado. _ Do You Yahoo!? Información de Estados Unidos y América Latina, en Yahoo! Noticias. Visítanos en http://noticias.espanol.yahoo.com--- Begin Message --- Hi, thank again. I used rsync today to copy 400

Re: rsync + ssh -o -p -g -l

2005-02-28 Thread Wayne Davison
On Mon, Feb 28, 2005 at 10:51:32PM -0600, michael mendoza wrote: > rsync -avzpogl -e ssh archivoOrigen [EMAIL PROTECTED]:/dir2/ > but when a see in the new server, the data dont have the same permiss > of owner, group than the old server. The problem is that rsync need to be running as root in ord

rsync + ssh -o -p -g -l

2005-02-28 Thread michael mendoza
Hi, i need move 20 GB of data from a old computer to a new server and I need than the permiss of user, group, other and symlink be the same in the new server. Y try with rsync -avzpogl -e ssh archivoOrigen [EMAIL PROTECTED]:/dir2/ but when a see in the new server, the data dont have the sam

Remote server incremental rsync +ssh ?

2004-11-17 Thread Rod Rioux
I would like to be able to run a backup  that compares to a directory but puts changes into a new directory ie Monday/tues etc.. I have tried -backup -backup-dir .. but I can't seem to get it to work right. Sometimes it works but the incr. Directory it creates is empty, even when there are

Re: Rsync && ssh && passwordless

2004-10-07 Thread Wayne Davison
On Thu, Oct 07, 2004 at 11:18:03AM -0600, Ryan Sommers wrote: > After sending the first mail I was able to get it to work by adding > '-e ssh' to the command line and changing '[EMAIL PROTECTED]:/path/to/stuff' to > '[EMAIL PROTECTED]::module'. Yes, that is the other choice if you want to restrict

Re: Rsync && ssh && passwordless

2004-10-07 Thread Ryan Sommers
Wayne Davison said: > On Thu, Oct 07, 2004 at 10:20:34AM -0600, Ryan Sommers wrote: >> Edited authorized_keys on M adding 'command="sudo /usr/local/bin/rsync >> --server --daemon ."' > > You can't start an rsync daemon and then attempt to do a non-daemon > transfer. Get rid of the "command" settin

Re: Rsync && ssh && passwordless

2004-10-07 Thread Wayne Davison
On Thu, Oct 07, 2004 at 10:20:34AM -0600, Ryan Sommers wrote: > Edited authorized_keys on M adding 'command="sudo /usr/local/bin/rsync > --server --daemon ."' You can't start an rsync daemon and then attempt to do a non-daemon transfer. Get rid of the "command" setting above and tell rsync to run

Rsync && ssh && passwordless

2004-10-07 Thread Ryan Sommers
I'm attempting to setup rsync to do backups of a remote system. I'd like to make it passwordless. The trouble I'm running into is I run sshd with PermitRootLogin Off for obvious security reasons. This means that I can't use rsync over ssh to the root user. Instead what I thought of was sshing to th

Re: RSync + SSH tunneling through firewall

2004-09-09 Thread Stefaan Lhermitte
Yessos, very cool. It works even with rsync -auv -e "ssh [EMAIL PROTECTED] ssh" src_folder host_C:sdt_dir Sometimes solutions can be very simple... Unfortunartely all open positions for email postmasters are just filled in. I did my best to convince my boss, you were better, but it didn't work.:)

Re: RSync + SSH tunneling through firewall

2004-09-09 Thread Stefaan Lhermitte
Haai Andrzej, The problem is solved. When I double checked the ssh-b file I realized I had to change the linux commands to cygwin commands. >From that moment all commands (like date, hostname...) worked on the C-host So with the key authentification and the following ssh-b script: #!/bin/bas

Re: RSync + SSH tunneling through firewall

2004-09-08 Thread Andrzej Filip
Stefaan Lhermitte wrote: Indeed, I want to: * to start rsync session A->C * cannot establish ssh session A->C (firewall) * but can establish ssh session A->B and B->C I think I understand the ssh hop. If I'm correct. I make a script file ssh-b that I subsequently invoke in the rsync command (./ssh

Re: RSync + SSH tunneling through firewall

2004-09-08 Thread Stefaan Lhermitte
Indeed, I want to: * to start rsync session A->C * cannot establish ssh session A->C (firewall) * but can establish ssh session A->B and B->C I think I understand the ssh hop. If I'm correct. I make a script file ssh-b that I subsequently invoke in the rsync command (./ssh-b). Unfortunately I sti

Re: RSync + SSH tunneling through firewall

2004-09-08 Thread Paul Slootman
On Wed 08 Sep 2004, Stefaan Lhermitte wrote: > I tried to connect the tunnel with another port number. When I use port > number 22 instead of 873 I can telnet to C from B. > When I telnet I get "SSH-1.99-OpenSSH_3.9p1." Yes, because you are connecting via the tunnel to the ssh server on C > Su

Re: RSync + SSH tunneling through firewall

2004-09-08 Thread Andrzej Filip
Stefaan Lhermitte wrote: I tried to connect the tunnel with another port number. When I use port number 22 instead of 873 I can telnet to C from B. When I telnet I get "SSH-1.99-OpenSSH_3.9p1." Subsequently I ran: ssh -v -L 22:C-computer:22 [EMAIL PROTECTED] When I run now the rsync command: r

Re: RSync + SSH tunneling through firewall

2004-09-08 Thread Stefaan Lhermitte
I tried to connect the tunnel with another port number. When I use port number 22 instead of 873 I can telnet to C from B. When I telnet I get  "SSH-1.99-OpenSSH_3.9p1." Subsequently I ran: ssh -v -L 22:C-computer:22 [EMAIL PROTECTED] When I run now the rsync command: rsync -v /cygdrive/d/fol

Re: RSync + SSH tunneling through firewall

2004-09-07 Thread Stefaan Lhermitte
Nope, I cannot telnet port 873. I tried "telnet C-computer" and "telnet C-computer 873" but command give the error: Connection refused. On the other hand, the SSH command from B-computer to C-computer works does give connection without any problems. Thanx in advance, Stef Andrzej Filip wrot

Re: RSync + SSH tunneling through firewall

2004-09-07 Thread Andrzej Filip
Stefaan Lhermitte wrote: I'm trying to rsync my labtop pc (let's assume A-computer) with my desktop pc (let's assume C-computer) through our firewall. In between there is one computer (let's assume B-computer) that has an open port, so I theoretically could connect via a tunnel. I checked the SSH

RSync + SSH tunneling through firewall

2004-09-07 Thread Stefaan Lhermitte
Dear RSYNCians, I'm trying to rsync my labtop pc (let's assume A-computer) with my desktop pc (let's assume C-computer) through our firewall. In between there is one computer (let's assume B-computer) that has an open port, so I theoretically could connect via a tunnel. I checked the SSH- website

Re: rsync + ssh

2004-06-21 Thread Wayne Davison
On Mon, Jun 21, 2004 at 01:56:29PM -0600, Tim Conway wrote: > I've known of people running a rsyncd binding on localhost and > tunneling, when they were afraid of getting sniffed. I assume this is > just an automation of that process? No, it uses ssh to run its own daemon process. It's just so t

Re: rsync + ssh

2004-06-21 Thread Tim Conway
Well, whaddya know? I've known of people running a rsyncd binding on localhost and tunneling, when they were afraid of getting sniffed. I assume this is just an automation of that process? I guess it's time to reload my mental copy of the man pages. Tim Conway Unix System Administration Cont

Re: rsync + ssh

2004-06-21 Thread Brian
According to the manpage and other docs, it also possible to use ssh to connect to a daemon using "::". However, you must use the --rsh="ssh ..." option instead of the -e. "o for copying from the local machine to a remote machine using a remote shell program as the transport, using rs

Re: rsync + ssh

2004-06-21 Thread Tim Conway
That's an ssh problem, not rsync. try "ssh xx.yy.zz". That said, ssh is irrelevant to what you're trying to do. you are going to a module on an rsync daemon, not a directory through a remote shell transport connection. :: is an rsync-protocol TCP connection to port 873, not an ssh-protocol TCP co

rsync + ssh

2004-06-21 Thread Paco Martinez
Hello gurus I attemp to make a backup between two hosts, using rsync, and result is ok. But and I agree "-e ssh" to sentence, host backup says rsync -aurvlpogt -e ssh kk.txt XXX.YYY.ZZZ::pruebas1 @ERROR: access denied to pruebas1 from unknown (0.0.0.0) rsync: connection unexpectedly closed (78

Re: Odd behavior with rsync/ssh/--delete

2004-03-22 Thread Wayne Davison
On Sun, Mar 21, 2004 at 09:51:18PM -0700, Peter Wargo wrote: > However, my syncs are much bigger then they should be. I'm getting a > bunch more than I expect - files that haven't changed in a long time > are being deleted and re-sync'd. Does the destination system have any mounted filesystems in

Odd behavior with rsync/ssh/--delete

2004-03-21 Thread Peter Wargo
I've just about googled my brains out over this one, and banged heads with several other SA buddies. I have a nightly rsync of a DMZ system (Solaris 8 SPARC[1]) to an internal system (RedHat ES 3.0 [2]). The internal system runs a cron job and pulls changes off of the DMZ system via ssh. (To b

Re: rsync + ssh: fails from cron

2004-03-11 Thread Itay Furman
Thank you for your reply -- it is very helpful and makes things clearer to me. I will try the other approach that you have suggested, i.e., making the cron jobs part of the same process group. Thanks again, Itay On Thu, 11 Mar 2004, Larry Brasfield wrote: > Itay Furman wrote

Re: rsync + ssh: fails from cron

2004-03-11 Thread Larry Brasfield
Itay Furman wrote: > Hi, Greetings. > My ssh set up, on both 'work' and 'home' machines uses the > private-public key authentication (key uses non-empty > passphrase). So from the 'home' shell prompt the following > works without prompting to password or passphrase: > > rsync -avz --delete -e

rsync + ssh: fails from cron

2004-03-10 Thread Itay Furman
Hi, My ssh set up, on both 'work' and 'home' machines uses the private-public key authentication (key uses non-empty passphrase). So from the 'home' shell prompt the following works without prompting to password or passphrase: rsync -avz --delete -e ssh remote.work.machine:publicats $HOME/wor

Re: rsync ssh problem...

2004-02-04 Thread Wayne Davison
On Wed, Feb 04, 2004 at 03:26:19PM +, Paul Simpson wrote: > [EMAIL PROTECTED] root]# rsync --rsh="ssh -lpaul" clinton:: > [EMAIL PROTECTED]'s password: > rsync: server sent "" rather than greeting It's probably your ssh setup outputting something. Try this: #!/bin/sh out=`ssh -lpaul clinton

rsync ssh problem...

2004-02-04 Thread Paul Simpson
Hi all, I keep getting the following error when trying to use ssh: (with rsync 2.5.7) [EMAIL PROTECTED] root]# rsync --rsh="ssh -lpaul" clinton:: [EMAIL PROTECTED]'s password: rsync: server sent "" rather than greeting rsync error: error starting client-server protocol (code 5) at main.c(1043)

Re: rsync / ssh -i

2003-12-05 Thread John Van Essen
On Thu, 4 Dec 2003, Michael <[EMAIL PROTECTED]> wrote: > I know that with ssh I can issue the -i command to use a different identity. > Is there anyway to use the -i command with rsync and ssh? Thank you. > > Michael In addition to what Martin suggested, you can also include the -i option and it

Re: rsync / ssh -i

2003-12-04 Thread Martin Pool
On 4 Dec 2003, Michael <[EMAIL PROTECTED]> wrote: > I know that with ssh I can issue the -i command to use a different identity. > Is there anyway to use the -i command with rsync and ssh? Thank > you. Use the IdentityFile and Host keywords in your ssh_config: Host suzy-alt-key HostName suz

rsync / ssh -i

2003-12-04 Thread Michael
I know that with ssh I can issue the -i command to use a different identity. Is there anyway to use the -i command with rsync and ssh? Thank you. Michael -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart

Re: Cygwin/rsync/ssh automation problems

2003-10-03 Thread Paul Thompson
JW, Mr. Shultz, whatever you prefer - Thanks for the great advice. Looks like I am going to become a unison user. :) Paul jw schultz wrote: On Fri, Oct 03, 2003 at 11:50:45AM -0500, Paul Thompson wrote: Olivier Kaloudoff wrote: On Thu, 2 Oct 2003, Josh Endries wrote: To synchronise f

Re: Cygwin/rsync/ssh automation problems

2003-10-03 Thread jw schultz
On Fri, Oct 03, 2003 at 11:50:45AM -0500, Paul Thompson wrote: > Olivier Kaloudoff wrote: > > >On Thu, 2 Oct 2003, Josh Endries wrote: > > > > > >To synchronise files between Windows and unix, you might > >take a look at Unison: > > > >http://www.cis.upenn.edu/~bcpierce/unison/ > > > >Unison is

Re: Cygwin/rsync/ssh automation problems

2003-10-03 Thread Paul Thompson
Olivier Kaloudoff wrote: On Thu, 2 Oct 2003, Josh Endries wrote: To synchronise files between Windows and unix, you might take a look at Unison: http://www.cis.upenn.edu/~bcpierce/unison/ Unison is a file-synchronization tool for Unix and Windows. (It also works on OSX to some extent, but i

Re: Cygwin/rsync/ssh automation problems

2003-10-03 Thread Olivier Kaloudoff
On Thu, 2 Oct 2003, Josh Endries wrote: >Hey all, > >I have a problem I can't find a solution for. I am on my third day of testing, >researching, planning, and swearing. :) I need to set up a convenient way to >synchronize a bunch of data over the network for backups. The server is >FreeBSD and th

Cygwin/rsync/ssh automation problems

2003-10-02 Thread Josh Endries
Hey all, I have a problem I can't find a solution for. I am on my third day of testing, researching, planning, and swearing. :) I need to set up a convenient way to synchronize a bunch of data over the network for backups. The server is FreeBSD and the client is Windows. Currently we are using PuT

RE: Rsync / SSH / Cygwin .. permission problems..

2003-06-03 Thread Oswell, Michael
ch1.5-1 zlib 1.1.4-1 Use -h to see help about each section Thanks, -- Mike Oswell -Original Message- From: Lapo Luchini [mailto:[EMAIL PROTECTED] Sent: May 31, 2003 12:29 AM To: Oswell, Michael Cc: '[EMAIL PROTECTED]'; CygWin Subject: Re: Rsync / SSH

Re: Rsync / SSH / Cygwin .. permission problems..

2003-06-03 Thread Vince Hoffman
> >Cygwin is installed on both systems and works perfectly. OpenSSH is > >installed and running, and the rsync user we created is able to ssh using > >password-less keys between the 2 systems. When I run rsync, it correctly > >pulls the data down that I want. The problem is that there are NO > >

Re: -p option in man and help [Was: Rsync / SSH / Cygwin ..permission problems..]

2003-06-01 Thread jw schultz
On Sat, May 31, 2003 at 11:51:25AM +0200, Lapo Luchini wrote: > jw schultz wrote: > > >On Sat, May 31, 2003 at 09:48:47AM +0200, Lapo Luchini wrote: > > > > > >>Actually it seems to me the opposite: it has perms also without -p... > >>maybe it is the default? > >> > >> > >Without -p new files

-p option in man and help [Was: Rsync / SSH / Cygwin .. permissionproblems..]

2003-05-31 Thread Lapo Luchini
jw schultz wrote: On Sat, May 31, 2003 at 09:48:47AM +0200, Lapo Luchini wrote: Actually it seems to me the opposite: it has perms also without -p... maybe it is the default? Without -p new files get perms of source as modified by umask. Ohhh. Maybe it's just me, but wouldn't --p,

Re: Rsync / SSH / Cygwin .. permission problems..

2003-05-31 Thread jw schultz
On Sat, May 31, 2003 at 09:48:47AM +0200, Lapo Luchini wrote: > Actually it seems to me the opposite: it has perms also without -p... > maybe it is the default? Without -p new files get perms of source as modified by umask. --

Re: Rsync / SSH / Cygwin .. permission problems..

2003-05-31 Thread Lapo Luchini
jw schultz wrote: Hey cygwiners have you no comment? I think this is a cygwin limitation. Perms are probably not supported. With -p it will use whatever perms stat returned (apparently ). I'm not sure why you are getting a 0200 mode. I asked Micheal Oswell for more details because perms ar

Re: Rsync / SSH / Cygwin .. permission problems..

2003-05-31 Thread Lapo Luchini
Oswell, Michael wrote: [sorry for the full quote, but I'm CCing the cygwin mailing list too] I am attempting to use rsync to "mirror" data between several windows 2000 and windows XP systems. I am a UNIX person by nature, so decided the easiest way to go about doing this would be to use Cygwin wit

Re: Rsync / SSH / Cygwin .. permission problems..

2003-05-30 Thread jw schultz
On Thu, May 29, 2003 at 10:02:02AM -0700, Oswell, Michael wrote: > I am attempting to use rsync to "mirror" data between several windows 2000 > and windows XP systems. I am a UNIX person by nature, so decided the > easiest way to go about doing this would be to use Cygwin with cron and ssh > runni

Rsync / SSH / Cygwin .. permission problems..

2003-05-30 Thread Oswell, Michael
I am attempting to use rsync to "mirror" data between several windows 2000 and windows XP systems. I am a UNIX person by nature, so decided the easiest way to go about doing this would be to use Cygwin with cron and ssh running as services, then run the rsync connection nightly through cron. Cyg

rsync - ssh password prompt?

2002-09-26 Thread dmaloy
I have installed rsync on a solaris machine running v9 and setup ssh. The problem is that when I try and rsync up some files to this machine from a remote solaris box, I am NOT prompted for a password?? I see a lot of messages talking about how to get it so that you are not prompted, but in m

Re: still about rsync/ssh"

2002-07-12 Thread tim . conway
quot;There are some who call me Tim?" ÍõÀò <[EMAIL PROTECTED]> 07/11/2002 08:23 PM To: Tim Conway/LMT/SC/PHILIPS@AMEC cc: Subject:still about rsync/ssh" Classification: Hi! Thank you very much for your help.I tried to write to [E

Re: (there was no subject, but about rsync/ssh"

2002-07-11 Thread tim . conway
In order to do rsync over ssh without providing a password, you must be able to ssh without a password. The --password-file= option is to provide a password for a rsyncd server (run as rsync --daemon) password. rsync cannot provide a password to an external transport like ssh or rsh. You w

Re: Rsync ssh script execution fails under cron?

2002-06-26 Thread Jeff Hill
Guess I was rushing a bit too much. I did get the source command in right in one of my tests, but not another. For some reason, it still fails when I put it in root cron, but it does now work with the system crontab (where the user is set as root). I think I'll just accept that oddity and use the

Re: Rsync ssh script execution fails under cron?

2002-06-24 Thread Jeff Hill
Thank's, that's exactly what I'm looking for! -- I think. I've gotten it installed in root (.bashrc and .bash_profile), and I've got it working so that whenever I open a new Xterm, I can ssh to the remote without getting a passphrase request, but . . . the cron script still hangs. From reading

Re: Rsync ssh script execution fails under cron?

2002-06-24 Thread tim . conway
by: [EMAIL PROTECTED] 06/24/2002 01:31 PM To: [EMAIL PROTECTED] cc: [EMAIL PROTECTED] (bcc: Tim Conway/LMT/SC/PHILIPS) Subject:Re: Rsync ssh script execution fails under cron? Classification: After that warm response, I decided to try for anothe

Re: Rsync ssh script execution fails under cron?

2002-06-24 Thread Michael Procter
On Mon, Jun 24, 2002 at 03:31:58PM -0400, Jeff Hill wrote: > > My intent was to avoid the security issues of logging into a remote server > as root without a password or passphrase. At this stage, I'm willing to > fall back to trying ssh keys without a passphrase. Again, easy enough to > imple

Re: Rsync ssh script execution fails under cron?

2002-06-24 Thread Jeff Hill
After that warm response, I decided to try for another day to get a script working, to no avail. Yes, a blank line and a "set -x" might be required (but certainly not always required for all cron scripts). It made no difference here, so far. As for the commands you didn't recognize (log_user,

Rsync ssh script execution fails under cron?

2002-06-23 Thread Jeff Hill
I've spent more than a day trying to write a script to backup my remote server to a local machine using ssh. The script works perfectly when I execute it directly (and I've gotten a number of variations to work okay), but I can't get cron to successfully execute it. There is no result output, s

Re: rsync & ssh & a specific Port

2002-04-29 Thread jw schultz
On Mon, Apr 29, 2002 at 06:53:54PM -0400, Administrator wrote: > I am trying to use rsync over ssh to a specific port and am having no luck. Any >help would be greatly apprecaited. > > This is what I have: > > rsync --delete -rlogptvz -e ssh /tmp [EMAIL PROTECTED]:/home/safe/backup/ > > If so

Re: rsync & ssh & a specific Port

2002-04-29 Thread Jos Backus
On Mon, Apr 29, 2002 at 06:53:54PM -0400, Administrator wrote: > If someone could show me how to tell rsync to use a specific ssh port I would really >appreciate it. One solution would be to create an ssh wrapper script, like this: #!/bin/sh exec ssh -p "$@" and refer to it instea

rsync & ssh & a specific Port

2002-04-29 Thread Administrator
I am trying to use rsync over ssh to a specific port and am having no luck. Any help would be greatly apprecaited. This is what I have: rsync --delete -rlogptvz -e ssh /tmp [EMAIL PROTECTED]:/home/safe/backup/ If someone could show me how to tell rsync to use a specific ssh port I would

Faster cygwin rsync ssh

2002-03-07 Thread Joseph Annino
I was wondering if there were any flags, patches, etc, that can speed up rsync over SSH between two Win2k boxes running cygwin? I am setting up a system where these machines can sync off each other, and they potentially might transfer up to a Gig of data, so a little bit more speed goes a long wa

minimal rsync+ssh for windows (fits on a floppy)

2001-12-16 Thread Robert Scholten
Hi all, I have created a new version of my old rsync+ssh package for windows. This is a really simple 3-file implementation, just rsync, ssh, and the cygwin1.dll. You don't need the full cygwin installation, nor the /usr, /bin, /home etc. file structure. It's not for techheads, but

rsync/ssh backup package...

2001-03-31 Thread William Stearns
Good day, all, First off, I'd like to thank everyone that's worked on rsync and ssh and openssh. This project was able to take off so quickly because those packages do their respective jobs so well. Executive summary: I've put together some shell scripts that aut

Re: Rsync: ssh inside rsync update? (fwd)

2001-03-26 Thread M. Drew Streib
I'm new to this mailing list so a short intro: My name is Drew Streib, and I work for VA Linux/SourceForge.net as, among other things, the ftp.sourceforge.net mirrors and distribution guy. On Mon, Mar 26, 2001 at 10:47:36AM -0600, Dave Dykstra wrote: > I understand, but I don't think those consid

Re: Rsync: ssh inside rsync update? (fwd)

2001-03-26 Thread Dave Dykstra
On Wed, Mar 21, 2001 at 05:16:13PM +, L. Cranswick wrote: > > > On Tue, Mar 20, 2001 at 09:06:03PM -0800, Lachlan Cranswick wrote: > > > Not sure if this was answered in the recent flurry of postings but > > > what is the status on putting a cut-down version of ssh inside > > > rsync to allow

Re: Rsync: ssh inside rsync update? (fwd)

2001-03-21 Thread L. Cranswick
> On Tue, Mar 20, 2001 at 09:06:03PM -0800, Lachlan Cranswick wrote: > > Not sure if this was answered in the recent flurry of postings but > > what is the status on putting a cut-down version of ssh inside > > rsync to allow an "easy" encryption option? > > I don't recall anybody suggesting tha

Re: Rsync: ssh inside rsync update?

2001-03-21 Thread Dave Dykstra
On Tue, Mar 20, 2001 at 09:06:03PM -0800, Lachlan Cranswick wrote: > Not sure if this was answered in the recent flurry of postings but > what is the status on putting a cut-down version of ssh inside > rsync to allow an "easy" encryption option? I don't recall anybody suggesting that exactly. I

Rsync: ssh inside rsync update?

2001-03-20 Thread Lachlan Cranswick
Hi, Not sure if this was answered in the recent flurry of postings but what is the status on putting a cut-down version of ssh inside rsync to allow an "easy" encryption option? Lachlan. Lachlan M. D. Cranswick Geochemistry - Lamont-Doherty Earth Observatory, Columbia University PO Box 1000, 6

Re: rsync, ssh, and automate

2001-01-17 Thread Britton
Well, here is how I enabled passwordless login on from my debian 2.2 box to itself to test MPICH stuff: First, be sure ~/.ssh/authorized_keys files is not group writable, and contains the identity which is to be allowed to perform passwordless logins. In case there is something atypical in my s

  1   2   >