tl;dr:
install krb5-user (if it prompts you for a “default realm”, just
leave it blank)
add the UoY Kerberos server details to
/etc/krb5.conf:
[realms]
YORK.AC.UK = {
kdc = auth.york.ac.uk
kdc = auth0.york.ac.uk
kdc = auth1.york.ac.uk
kdc = auth2.york.ac.uk
admin_server = authm.york.ac.uk
}
get a ticket: kinit $user@YORK.AC.UK
klist to see what tickets you havekinit -R $user@YORK.AC.UK to renew your ticket (NB: once
expired, a ticket can’t be renewed)kdestroy to delete your tickets (this won’t happen automatically
to expired tickets)ssh -K teaching0.york.ac.uk
add this to ~/.ssh/config to avoid having to pass -K:
Match host="*.york.ac.uk"
GSSAPIAuthentication yes
GSSAPIDelegateCredentials yes
(note that this will make SSH hang if you have Kerberos tickets but aren’t on campus or connected to the VPN)
Q: “why is kerberos the way it is?”
A: http://web.mit.edu/Kerberos/dialogue.html