how to use ftp(1) in batch mode

Wojciech Puchar wojtek at puchar.net
Fri Aug 31 18:36:49 UTC 2018


> I believe that using sftp with authorized keys in batch mode is safer. The batch file would only need to have the actual commands.

with ssh available on remote server i would simply use ssh.
but i don't administer remote server
> 
> The only drawback for this method to be fully non-interactive is that you have to take out the passphrase from the private key.
> 
> --
> Mario Lobo
> http://www.mallavoodoo.com.br
> FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!]
> 
>


More information about the freebsd-hackers mailing list