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

StackOverflow https://stackoverflow.com/questions/7352021

  •  28-10-2019
  •  | 
  •  

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?

Foi útil?

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
scroll top