Python: how to launch scp with pexpect without OpenSSH GUI Password Prompt on Ubuntu?
Pergunta
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?
Solução
See the DISPLAY and SSH_ASKPASS
section of man ssh-add
.
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow