I would like to host a web service (Jupyterhub) which executes the following steps for a user:
- Acquire Kerberos ticket from user
- Use Kerberos ticket to spawn batch job on remote server
Therefore, I would need some python snippet to handle the authentication part (python-gssapi) and pass the ticket to Paramiko. However, I do not understand how to get a Kerberos ticket with username/password and then pass it explicitly to SSHClient.connect
Any help is highly appreciated :)