rsync+auto-ssh
Dear All, though my query is not directly with rsync but i thought some of the people must be using rsync & ssh, so i am posting my query here, in case if there is some other group or forum pls let me know so that i won't bother people here(my apologies) actually, i am facing a very strange issue as : my objective is to use rsync from windows m/c with ssh(auto), so i did as ... 1) I installed rsync_full.zip, from http://optics.ph.unimelb.edu.au/help/rsync/rsync_pc1.html 2) It contains following files(c:\rsync) :- cygwin1.dll, gnudate.exe, rsetup.bat, rsync2.5.1-dev.exe, rsync246.exe, rsync251-2.exe, drivec.bat, sshd.exe, ssh-keygen.exe, scp.exe, ssh.exe, ssh-add.exe, ssh-agent.exe 3) Win boxes are win98 & win2000, while linux box is RH9, bimal is a user on linux box. 4) I am very much able to do rsync and ssh from window boxes to linux box (manually), it asks me a password 5) here is what i did(followed above mentioned doc) :- *) unzipped rsync_full.zip in c:\>, so it get installed as c:\rsync>(all commands are here) *) put all the environment variables in autoexec.bat and ran rsetup on command prompt *) i used ssh-keygen -P "" to generate the key on win m/c *) copied identity.pub file on linux box in /home/bimal/.ssh/ *) then i did cat identity.pub >> authorized_keys this all i did to get auto ssh done, now when i do c:\> ssh -l bimal 10.10.2.50 whoami i have also done auto ssh on linux-linux box but am facing this issue with windows-linux box only!! it asks me a password, what shall i check now??, any pointer will be of great help. regards, Bimal Pandit -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: mkstemp fails but data still transferred
I like this a lot - the '--create-fail-action=abort' option would suit me perfectly - if the creation of the temporary file fails then simply abort the transfer. Nice. Cheers - Steve An option to specify action would help more, IMHO. Since there is no two-way chatter, the choices are obviously limited. How about: --create-fail-action=discard (default) --create-fail-action=mkdir --create-fail-action=abort or some such? -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
°Eric Moos/SYSTEM/FRANKFURT/BFI/BNP is out of the office.
I will be out of the office starting 24.03.2005 and will not return until 04.04.2005. I will respond to your message when I return. In urgent cases please contact Mr. Michael Klein ([EMAIL PROTECTED]) +49(0)6971936960. With kind regards, Eric Moos This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. - Ce message et toutes les pieces jointes (ci-apres le "message") sont etablis a l'intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le detruire et d'en avertir immediatement l'expediteur. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. L'internet ne permettant pas d'assurer l'integrite de ce message, BNP PARIBAS (et ses filiales) decline(nt) toute responsabilite au titre de ce message, dans l'hypothese ou il aurait ete modifie. -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: Secure Remote Backups (using SSH) - Using a backup user account
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin Schröder wrote: | | Add rrsync.pl and sudo to your solution. | | Backupuser does a forced sudo (without passwd) rrsync.pl, which | locks him to reading. | | Best regards | Martin My thanks to all who replied. I went down the rrsync.pl and sudo option. There was a couple of very minor hacks to rrsync.pl to get it to work with the sudo command, but now works a treat! If anyone wants more details, please ask. Thanks to all again, Regards, Dave -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQFCQvsT62r58u1gKlkRAqJ3AKCEra5H1uZzuFzieakhTXgasZyRqACeKK5o 4kOx/Kp6lP1vKoyc3Vx1+g4= =Lc7X -END PGP SIGNATURE- -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: mkstemp fails but data still transferred
On Tue, Mar 22, 2005 at 11:27:57PM -0600, John Van Essen wrote: | On Tue, 22 Mar 2005, Steve Harris <[EMAIL PROTECTED]> wrote: | > | > What seems to be happening is that even though the directory doesn't exist | > and the temporary file can't be created the data is transferred but | > not written anywhere | | > I guess what I'm getting at is that if rsync can't create the temporary | > file shouldn't it just bail ? | | The Documentation section of the rsync web site has a "How Rsync Works" page: | | http://rsync.samba.org/how-rsync-works.html | | originally written by the late JW Schultz. | | In the pipeline section you'll see that communication is unidirectional. | One of rsync's many advantages is streaming unidirectional pipelines. | Not having two-way chatter helps speed up file transfers. | | Since it is optimized for the normal case where there are no problems | on the receiving end, the receiver has no way to tell the sender to | stop sending file content when there is a problem, and must accept and | discard the remainder of the file (which is what you are seeing). | Subsequent file transfers might be successful, so it can't abort, yet. | | Hope that helps. An option to specify action would help more, IMHO. Since there is no two-way chatter, the choices are obviously limited. How about: --create-fail-action=discard (default) --create-fail-action=mkdir --create-fail-action=abort or some such? -- - | Phil Howard KA9WGN | http://linuxhomepage.com/ http://ham.org/ | | (first name) at ipal.net | http://phil.ipal.org/ http://ka9wgn.ham.org/ | - -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html