Paramiko equivalent for OpenSSH directives PreferredAuthentications=password and PubkeyAuthentication=no

Viewed 83

Can I get Paramiko code for the following ssh command?

ssh Administrator@xx.xx.xx.xx -vv -o PreferredAuthentications=password -o PubkeyAuthentication=no

Need to know how to handle fields PreferredAuthentications and PubkeyAuthentication in Paramiko.

1 Answers
Related