Issue: SSH taking time to logon to other server through ssh on Ubuntu

Hi,

I had issue, while I was trying access any linux server in my network from ubuntu, it was taking time (around 1 min). So to get rid of this issue, I searched on google and I found remedy. Follow below steps :)

1) Specify the option to disable GSSAPI authentication when using SSH or SCP command, e.g.:
ssh -o GSSAPIAuthentication=no appssupp@10.50.100.111

-OR-

2) Explicitly disable GSSAPI authentication in SSH client program configuration file, i.e. edit the /etc/ssh/ssh_config and add in this configuration (if it’s not already in the config file):
GSSAPIAuthentication no

-OR-

3) Like 2 but in your private ssh config
Edit /home/YOURUSERNAME/.ssh/config and add
GSSAPIAuthentication no

After doing any of the above, restart ssh service in ubuntu. I would suggest to go for 3rd option.

Thanks.