rdist + rlogin + ssh

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I first use rdist (rsh) to distribute files to my clients, it works
because I add "rsh" to /etc/securtty. I don't think it's not a good

So, I use "rdist -P ssh -f Dist_file" it works after I enter the root

Wondering is there a way to distribute a file to all my clients
without entering password? or specify the root password somewhere? I
just too lazy entering password all the time..

If there are many ways, what is the most secure way?

Thank you all so much..

Re: rdist + rlogin + ssh

Quoted text here. Click to load it

Plenty. You can restrict the file transfers to specific IP addresses and/or
specific directories with the "rsync" service, by either running the rsync
daemon on the targets and pushing to them, or running the rsync daemon on
your server and letting them pull files. Alternatively, you can use
"ssh-agent" to store an SSH key and use that with authorized_)keys to push
the files without having to type passwords for SSH.

Quoted text here. Click to load it

"It depends". Take a look at the man pages for rsync and for ssh-agent, and
take a look at the linux security cookbook from O'Reilly.

Site Timeline