Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Rsync in background

12 views
Skip to first unread message

James

unread,
Aug 11, 2017, 7:37:11 PM8/11/17
to
How to run rsync in background when it prompts to enter passwd,
without using expect or password-less ssh?

TIA
James

Lew Pitcher

unread,
Aug 11, 2017, 7:57:40 PM8/11/17
to
James wrote:

> How to run rsync in background when it prompts to enter passwd,
> without using expect or password-less ssh?

Never tried this myself, but rsync(1) (the rsync man page) says, regarding
the RSYNC_PASSWORD environment variable,

"Setting RSYNC_PASSWORD to the required password allows you to run
authenticated rsync connections to an rsync daemon without user
intervention. Note that this does not supply a password to a remote
shell transport such as ssh; to learn how to do that, consult the remote
shell's documentation."

HTH
--
Lew Pitcher
"In Skills, We Trust"
PGP public key available upon request

0 new messages