Using Kerberos Authentication With Paramiko
I'm struggling to figure out how to use kerberos authentication with python and paramiko. I've found the documentation for paramiko but don't know how to implement it and there see
Solution 1:
As How does Kerberos work with SSH? says, Kerberos authentication in SSH is essentially some custom data transfer instead of regular authentication (that includes getting a ticket from KDC) if the server reports gssapi-with-mic
in available authentication mechanisms.
Support for it paramiko
has been committed in 09.2014 in pull request 267 and is available from v1.15
onwards.
To use it,
- See Installing docs for additional requirements
- use
gss_auth
parameter ofSSHClient.connect
.gss_kex
is optional to authenticate the server using Kerberos as well rather than its SSH key.
Post a Comment for "Using Kerberos Authentication With Paramiko"