Results 1 to 6 of 6
  1. #1

    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/file
    Thanks,
    DolphinEcho

  2. #2
    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

  3. #3
    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?

  4. #4
    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.

  5. #5
    just use keys. aint no big thang.

  6. #6
    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

  1. Rsync setup question
    By dolphinecho in forum Hosting Security and Technology
    Replies: 5
    Last Post: 07-17-2009, 09:06 AM
  2. Rsync Question
    By danielj in forum Hosting Security and Technology
    Replies: 1
    Last Post: 12-22-2007, 09:35 PM
  3. Rsync Setup With WHM And Shell
    By ZaxiHosting in forum Hosting Security and Technology
    Replies: 2
    Last Post: 06-29-2007, 03:34 PM
  4. Reseller that allows rsync setup
    By joshuayip in forum Reseller Hosting
    Replies: 1
    Last Post: 02-23-2005, 03:34 AM
  5. rsync question
    By maxbear in forum Hosting Security and Technology
    Replies: 12
    Last Post: 07-06-2002, 03:02 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •