Answer the question
In order to leave comments, you need to log in
rsync automatic authorization
There is NAS. The rsync server is running on it. There are two computers that should automatically synchronize files with the NAS. This is done through rsync. Only rsync always asks for a password. So, is it possible to somehow automatically enter this password so that you don’t have to manually enter it every time?
Working via ssh is not suitable
Answer the question
In order to leave comments, you need to log in
Can.
Some modules on the remote daemon may require authentication. If so, you will receive a password prompt when you connect. You can avoid the password prompt by setting the environment variable RSYNC_PASSWORD to the password you want to use or using the --password-file option. This may be useful when scripting rsync.
WARNING: On some systems environment variables are visible to all users. On those systems using --password-file is recommended.
I don't know how it is in terms of capabilities on the NAS. rsync can be configured as a daemon, authorization will not be through SSH. Own port, protocol for rsyncd.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question