The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Previous Message  |  Next Message 
 Re: Rsync password --password-file format
Author: Dan Langille 
Date:   02-06-03 11:36

From man rsync:

--password-file
This option allows you to provide a password in a file for
accessing a remote rsync server. Note that this option is only
useful when accessing a rsync server using the built in trans-
port, not when using a remote shell as the transport. The file
must not be world readable. It should contain just the password
as a single line.

So...

1 - it's plain text, a single line
2 - you should be using it when using remote shell as the tranport

I think that means it won't work with ssh. Your choice is then an ssh key with a blank/empty passphrase. Search for "authorised keys" in the article.

Mind you, I see myself using the password file and ssh as the medium, so I don't know what happened there.

 Reply To This Message  |  Forum List  |  Flat View   Newer Topic  |  Older Topic 

 Topics Author  Date
 Rsync password --password-file format   new
Geoff 02-06-03 08:54 
 Re: Rsync password --password-file format   new
Dan Langille 02-06-03 11:36 
 Re: Rsync password --password-file format   new
Geoff 03-06-03 06:34 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org