[Gllug] Non-interactive sftp
Martin N Stevens
budgester at budgester.com
Mon Oct 10 17:09:43 UTC 2005
On 10/10/05, Tethys <sta296 at astradyne.co.uk> wrote:
>
> Steve Nelson writes:
>
> >I'm trying to allow sftp using key-based authentication so that some
> >critical files can be transferred securely via cron.
>
> Err... why? sftp is designed for interactive use. If you want something
> non-interactive to run from cron, use scp instead.
Have you tried doing this using scp and expect ?
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list