Not a TTY ?

2001-02-12 Thread Tal Dayan
Whenever we issue the command: rsync --delete-excluded --stats --checksum --compress --rsh=/usr/local/bin/s sh --recursive --times --perms --links --delete server.mydomain.net:/home/dir/ /home/backup/dir/ We get the message 'stdin: is not a tty' though everything seems to work OK. What does t

Re: unexpected EOF in the read_timeout

2001-02-12 Thread Martin Pool
On 12 Feb 2001, "Monereau, Alex" <[EMAIL PROTECTED]> wrote: > Just installed rsync using openssh on a RS/6000 running AIX 4.3.3. When the > following command is entered: > rsync --verbose --progress --stats --compress --rsh=/usr/local/bin/ssh > > I get the following error: > ksh: rsync: not fou

unexpected EOF in the read_timeout

2001-02-12 Thread Monereau, Alex
Just installed rsync using openssh on a RS/6000 running AIX 4.3.3. When the following command is entered: rsync --verbose --progress --stats --compress --rsh=/usr/local/bin/ssh --recursive --times --perms --links /tmp/* servername:/tmp I get the following error: ksh: rsync: not found unexpected

Re: Using pipes to feed inclusions to rsync

2001-02-12 Thread Dave Dykstra
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

Using pipes to feed inclusions to rsync

2001-02-12 Thread Otto Wyss
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 there another way or syntax to do this? I'd like to use such a sta

RE: --execute option

2001-02-12 Thread Noel L Yap
[EMAIL PROTECTED] on 2001.02.12 14:37:44 >Regarding ssh alternative to --execute: >Yes there are several reasons I would prefer --execute than ssh. First, >without going into any details ssh will not be permissioned through my >security infrastructure. second, even if ssh were an option I wo

RE: --execute option

2001-02-12 Thread Wrieth, Henry
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 dee

RE: Help: how to get the module list

2001-02-12 Thread Tal Dayan
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- > Fr

Re: Q (feat. req.): multiple sourcetrees with priority

2001-02-12 Thread Martin Pool
On 12 Feb 2001, "Ph. Marek" <[EMAIL PROTECTED]> wrote: > Hello everybody, > > I have a question. Sorry if it's been asked before, couldn't find it the > archives. > > > Is it possible to tell rsync to use multiple source trees with a given > priority for colliding files? I'm not quite sure wha

Re: --execute option

2001-02-12 Thread Pierre Abbat
On Mon, 12 Feb 2001, Dave Dykstra wrote: >The reason why the password is in the clear in the secrets file is not an >antique idea: it avoids having to send the passwords in the clear over the >network, which you cannot avoid with native OS usernames and passords >unless you use encryption like SSH

Re: --execute option

2001-02-12 Thread Dave Dykstra
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 use

--execute option

2001-02-12 Thread Wrieth, Henry
Hello All, Last week I posted a question about a potential '--execute' option . Dave Dykstra replied and pointed me to a 2 year old thread on the topic. I would like to revive the discussion and add my own comments on the current rsync security model, user authentication and finally, implementat

Re: include/exclude confusing output

2001-02-12 Thread Dave Dykstra
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/ . > > > >

Re: bug with --backup and --exclude

2001-02-12 Thread Dave Dykstra
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

Re: how to ssh in cron

2001-02-12 Thread John Todd
>How do I call rsync with -e ssh in a shell script run from cron. SSH >requires a password. How do I pass the password to it from the script? > >V/r >Jay The public key method works. I'm a bit more paranoid, however. I like to enter my password after the machine boots up, so that I don't h

Re: bug with --backup and --exclude

2001-02-12 Thread Chris Garrigues
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 ar

Re: how to ssh in cron

2001-02-12 Thread tim . conway
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

Re: Help: how to get the module list

2001-02-12 Thread tim . conway
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

Re: how to ssh in cron

2001-02-12 Thread Phillip Moore
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 d

Re: how to ssh in cron

2001-02-12 Thread Joe Rice
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

how to ssh in cron

2001-02-12 Thread Jay Moore
How do I call rsync with -e ssh in a shell script run from cron. SSH requires a password. How do I pass the password to it from the script? V/r Jay

Re: bug with --backup and --exclude

2001-02-12 Thread Chris Garrigues
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 way

Q (feat. req.): multiple sourcetrees with priority

2001-02-12 Thread Ph. Marek
Hello everybody, I have a question. Sorry if it's been asked before, couldn't find it the archives. Is it possible to tell rsync to use multiple source trees with a given priority for colliding files? I imagine having a list of products for each workstation, and say "use xyz as base tree, and