zer0stimulus
zer0stimulus

Reputation: 23606

Python: how to launch scp with pexpect without OpenSSH GUI Password Prompt on Ubuntu?

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?

Upvotes: 1

Views: 930

Answers (1)

Ross Patterson
Ross Patterson

Reputation: 5742

See the DISPLAY and SSH_ASKPASS section of man ssh-add.

Upvotes: 1

Related Questions