Today I Learned

2025/10/29

ssh

That setting the SSH_ASKPASS environment variable to point to an executable will cause ssh to use the stdout from that program to supply a password, if required. This is useful for scripts that need to run non-interactively.

See https://www.man7.org/linux/man-pages/man1/ssh.1.html#:~:text=SSH%5FASKPASS