Python: how to launch scp with pexpect without OpenSSH GUI Password Prompt on Ubuntu?
Question
I'm attempting to automate scp
commands with pexpect
on Ubuntu. However, I keep getting a password GUI prompt with title "OpenSSH". How can I disable this behavior and use command line prompts instead?
Solution
See the DISPLAY and SSH_ASKPASS
section of man ssh-add
.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow