Kerberos is an authentication protocol for allowing secure authentication over untrusted networks by using secret-key cryptography and trusted third parties.
To see Kerberos set up and running, we need three Linux systems (in our example we have used Ubuntu). They should be able to communicate with each other, and they should also have accurate system clocks.
We have set the hostname for each system is as follows:
- Kerberos system –
mykerberos.com
- SSH Server system –
sshserver.com
- Client system –
sshclient.com
After doing this, edit the /etc/hosts
file in each system and add the following details:
The IP address and the hostname can be different for your systems. Just make sure that after doing these changes they can still ping with each other.