hmm, I'm really getting bitten by this. I thought I could kludge around it by
pre-deleting the excluded directories, but then the problem came up with a
directory which wasn't rooted in my exclude list. Those are going to be hard
to find so I'm better off actually fixing the problem.
The
The easiest way would be to use the public/private key mechanisms.
man ssh-keygen
i use rsync -e ssh in cron for most of the things i do with rsync and
it works well.
joe
Jay Moore([EMAIL PROTECTED])@Mon, Feb 12, 2001 at 04:02:45PM +:
How do I call rsync with -e ssh in a shell script run
The easiest way is to generate keys with no passphrase. it's still secure, as long as
nobody can get your private key. If you insist on adding a password, you'll have to
keep it in plaintext in a file and reference it with --password-file, or if you
want to add a layer of indirection to make
Jay,
Why don't you configure ssh to not require a password with
an public key or one of the other methods. I can't imagine that
is any less in-secure than embedding the password into some script.
--
Phillip Moore| Cluster Administrator
[EMAIL PROTECTED] | "If you don't know what you're
when you're not going to an rshd server, the concept of modules does not exist.
you're reaching through a remote shell of some sort (rsh, remsh, ssh, whatever), and
executing the rsh command on that end. you'll have to modify your routines to use the
new type of information. good luck.
Tim
I found the problem. In keep_backup, make_file needs to be called with a
first argument of -1, not 0.
The patch is attached.
Chris
From: "Chris Garrigues" [EMAIL PROTECTED]
Date: Mon, 12 Feb 2001 09:42:08 -0600
hmm, I'm really getting bitten by this. I thought I could kludge around
I'm not going to comment on your entire message, just pieces of it:
On Mon, Feb 12, 2001 at 12:53:39PM -0500, Wrieth, Henry wrote:
...
-Authentication:
If we are going to spawn the child as the client user, we need to be assured
the user is who he or she claims to be. Currently, rsyncd uses
On Mon, Feb 12, 2001 at 11:26:46AM -0600, Chris Garrigues wrote:
I found the problem. In keep_backup, make_file needs to be called with a
first argument of -1, not 0.
The patch is attached.
Thanks for tracking that down. I checked the current code and see that it
is fixed already in
On Sat, Feb 10, 2001 at 08:30:32AM -0800, Harry Putnam wrote:
...
After looking thru the examples in man page it seems this command line
should do it:
rsync -nav --include "*/" --exclude "alpha/" \
--exclude "alphaev6/" ftp.wtfo.com::rh-ftp/redhat-7.0/updates/ .
But a dry run
Wow, fast reader you. Thanks for your reply Dave,
Regarding the secrets file:
All hosts I distribute to are either internal or in some DMZ. In most Wall
Street firms the internal network is deemed safe so, it is still ok to have
clear passwords on the wire. We telnet everywhere. But it is
Thanks Tim.
I have it working now. The remote hosts have a file with a list of all the
directories
to be backed up. During backup, the backup server fetches the list file from
each of the remote hosts, and sync in the remote directories listed in the
files.
Tal
-Original Message-
On Mon, Feb 12, 2001 at 10:14:22PM +0100, Otto Wyss wrote:
Is it possible to use pipes when specifying an inclusion list of files?
I.e. is the following statement possible
rsync -aLPv --include-from - --exclude '*' [source] [destination]
where the - after --include-from denotes STDIN. Is
12 matches
Mail list logo