In the previous post, I’ve blogged about how to remotely log in to a machine via Kerberos authentication, but the Kerberos server had to be reachable from the network, which in many cases means having to connect to a workplace’s VPN. In this post, I’ll describe how to do the same, but via an SSH tunnel, instead of VPN.
OS / System / Networks
Anything related to operating systems, useful command-line stuff, networking, and related things.
Password-free remote authentication using Kerberos
When connecting to machines at my workplace, we can’t use SSH public key authentication, so I was left with entering my password each time I open a terminal and connect to one of the servers via SSH. Since I do this quite regularly, it became a major annoyance. After a bit of digging, I found out through our IT support that I can use Kerberos (a network authentication protocol) to remotely authenticate. It sounded daunting at first, but is actually quite simple. I didn’t find a tutorial online that would describe exactly what I was looking for, so I thought this was worth writing up.