On 17/06/16 04:01, Wim Bertels wrote:
> Hallo,
Hello, Win.
> use case: use cron to mount a sshfs share (with automatic key auth)
>
> on 1 installation this is working fine:
> script:
> "
> #!/bin/bash
>
> sudo -u user1 sshfs user1@123.234.1.2:/var/user1/shared /mnt/shared
>
> exit
> "
>
>
> >
> > 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 some
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 cu
3 matches
Mail list logo