Debian is shutting down its public FTP services
Debian is shutting down its public FTP services
Posted Apr 30, 2017 19:31 UTC (Sun) by derobert (subscriber, #89569)In reply to: Debian is shutting down its public FTP services by HenrikH
Parent article: Debian is shutting down its public FTP services
You can use public key authentication with sftp (the authentication is being done by ssh). That's both easier in a script and more secure than a password on the command line.
(Remember in the default kernel configuration, password on the command line shows in ps).
If you really want to write a password in a file, I think lftp (which is also an sftp client) will let you...
