GSSAPI or Generic Security Service Application Programming Interface allows login to an
SSH server via alternative mechanisms such as
It's useful for those that need the feature but if you're just using the normal password or public key authentication method, it could just unnecessarily slow the overall login process.
You can disable (or enable)
GSSAPI authentication for
GSSAPIAuthentication directive in your
Specifies whether user authentication based on GSSAPI is allowed. The default is no.
SSHdconfiguration file using your favorite text editor.
$ sudo vi /etc/ssh/sshd_config [sudo] password for user:
GSSAPIAuthenticationdirective and set the value to
GSSAPIAuthenticationauthentication method or set to
Add the line if it doesn't already exist and remove the
# at the beginning of the line if existing line starts with a
$ sudo systemctl restart sshd
Comment anonymously. Login not required.