Port 543 is the Kerberos-authenticated remote login (klogin) port – a Kerberos-secured version of rlogin. Klogin provides single sign-on remote shell access using Kerberos tickets instead of passwords. Port 543 is largely obsolete – SSH with GSSAPI Kerberos authentication replaced it for encrypted remote access.
Port Number
543
Protocol
TCP
Service
Kerberos Login
Range
IANA Well-Known (0–1023)
Check if anything is listening on port 543 (should be nothing)
ss -tlnp | grep 543Look for legacy inetd entries that might start klogind
grep -r 'klogin\|eklogin' /etc/inetd.conf /etc/xinetd.d/ 2>/dev/nullTest SSH with Kerberos (the modern replacement for klogin)
ssh -o GSSAPIAuthentication=yes hostklogin -l user remotehost
ssh -o GSSAPIAuthentication=yes hostKlogin (Kerberos rlogin) was created in the 1980s at MIT as part of Project Athena. Port 543 provided Kerberos-authenticated remote login (unlike rlogin on port 513 which used .rhosts trust). It was widely used in academic and government networks before SSH was created in 1995. By 2000, SSH with GSSAPI/Kerberos support made klogin completely redundant. No modern OS ships with klogind enabled.
How do I use Kerberos authentication with SSH instead?
Server: sshd_config: GSSAPIAuthentication yes, GSSAPICleanupCredentials yes. Client: ssh_config: GSSAPIAuthentication yes, GSSAPIDelegateCredentials yes. Ensure: the host has a host/hostname@REALM principal in its keytab, the user has a valid TGT (kinit). This gives single-sign-on via Kerberos with full SSH encryption – everything klogin was supposed to be but with modern security.