Re: cron, sshfs and sudo
Wim Bertels wrote:
> use case: use cron to mount a sshfs share (with automatic key auth)
>
> on 1 installation this is working fine:
> [snipped the script]
>
> on the other it keeps failing because the passphrase needs to be entered
> to unlock the key, it doesn't fail however without sudo and a custom
> user1 crontab entry; but as cron is run by root, this should be able to
> do easier
>
> suggestions?
"Install 1" may be using something like gnome keyring manager with a
saved SSH passphrase. For auto-mounting, you may also be able to safely
use passphrase-less keys.
--
|_|O|_| Registered Linux user #585947
|_|_|O| Github: https://github.com/dpurgert
|O|O|O|
Reply to: