This article describes how to log into the remote computer (server) using SSH and run a GUI (graphical) application that requires screen. The GUI program will be displayed on the physical monitor, connected to that remote machine.
Problem : When I’m trying to log into the remote server via SSH, after I enter the UserName, it takes a lot of time before it displays the Password prompt. How to solve this problem?
Solution : Basically, a long delay during authentication process is caused by "GSS API Authentication method" or/and by "UseDNS" option. The solution is to disable the GSSAPIAuthentication method and to set the UseDNS to "no" on the SSH Server.