Results 1 to 6 of 6
Thread: rsync setup question
-
07-29-2009, 12:11 PM #1WHT Addict
- Join Date
- Oct 2008
- Posts
- 108
rsync setup question
Hi,
I am wanting to setup rsync to always login, so I don't want to use keys.
Is it possible to put the password in the rsync command leave.
If so how do I do this?
Or do I have to use: --password-file=/path/to/password/fileThanks,
DolphinEcho
-
07-29-2009, 08:05 PM #2Retired Moderator
- Join Date
- Feb 2005
- Location
- Australia
- Posts
- 5,849
Are you using rsync over ssh? If so you can't use the password-file. (edit: and you certainly can't supply the password on the command line!)
Type in the password at the prompt for working interactively or use ssh keys for automated login. "I don't want to use keys" isn't a valid reason not to use keys.Chris
"Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them." - Laurence J. Peter
-
07-29-2009, 08:32 PM #3Junior Guru
- Join Date
- Mar 2009
- Location
- Chicago, IL
- Posts
- 219
You're pretty much stuck with using keys here. I suppose you could write a wrapper using something like perl or expect to input the pw for you, but really, why?
-
07-29-2009, 09:26 PM #4Web Hosting Master
- Join Date
- Mar 2008
- Posts
- 1,717
BTW If you're worried about security, you can setup ssh to only allow a key to be used for rsync, and nothing else.
I used to run the oldest commercial Mumble host.
-
07-29-2009, 11:31 PM #5Junior Guru Wannabe
- Join Date
- Jul 2009
- Posts
- 63
just use keys. aint no big thang.
-
07-30-2009, 12:57 AM #6Intangible Asset Appraiser
- Join Date
- Mar 2009
- Location
- Austin Tx
- Posts
- 2,007
You can also setup rsync server on the receiving machine. That will allow you to script and not have to use keys, yet retain password auth.
This is the best signature in the world....Tribute!
(It is not the best signature in the world, no. This is just a tribute)
Similar Threads
-
Rsync setup question
By dolphinecho in forum Hosting Security and TechnologyReplies: 5Last Post: 07-17-2009, 09:06 AM -
Rsync Question
By danielj in forum Hosting Security and TechnologyReplies: 1Last Post: 12-22-2007, 09:35 PM -
Rsync Setup With WHM And Shell
By ZaxiHosting in forum Hosting Security and TechnologyReplies: 2Last Post: 06-29-2007, 03:34 PM -
Reseller that allows rsync setup
By joshuayip in forum Reseller HostingReplies: 1Last Post: 02-23-2005, 03:34 AM -
rsync question
By maxbear in forum Hosting Security and TechnologyReplies: 12Last Post: 07-06-2002, 03:02 PM