Closed N4tus closed 1 year ago
using
export LFTP_PASSWORD="my_password" lftp -e "get /path/to/file; bye" --env-password sftp://user@host
or
lftp << EOF open sftp://host user user my_password get /path/to/file bye EOF
still opens a gui-promt to ask for the password, making it not possible to use in scripts.
There was a stray SSH_ASKPASS_REQUIRE set, sorry for the noise.
using
or
still opens a gui-promt to ask for the password, making it not possible to use in scripts.