Re: {DKIM Fail} Re: sftp fails when run from cron

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



On Tue, Sep 18, 2018 at 1:49 PM James Moe <jimoe@xxxxxxxxxxxxxx> wrote:
>
> On 9/14/18 5:07 AM, Darren Tucker wrote:
>
> >>   Is there a recommended way to provide the decryption passphrase?
> >
> > it's possible but tricky by writing a custom SSH_ASKPASS program, but
> > that doesn't buy you much over having the key unencrypted (ie both the
> > key and the passphrase needed to decrypt it have to readable by your
> > user).
> >
>   I decided it is no burden to manually run the script.

There is an old, and stable, tool called "keypass". It's a perl script
used to activate an ssh-agent and load a copy of its generated
environment variables into a file that can be "sourced", typicall
$HOME/.keypass/$HOSTNAME.sh I've found it quite useful to pre-load an
ssh-agent for later use by a particular application, especially if I
wanted to have to reload the ssh-agent for cron or other automated
operation.
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux