What controls the delay between entering the login name and the "Password" prompt appearing in a SSH session?
Check if your primary DNS server works all the time. If resolving through that one fails the system will try the second DNS entry. But this will cause a slight delay as the system has to wait for the first request to time-out. The request to the second server may succeed. If it also fails the delay will even be a little longer. This may account for the variation in timing you are witnessing.michaelrmgreen said:Hmm, odd, sometimes the gap is a couple of seconds, sometimes 30 seconds. It used to be consistently two seconds or less.
VerifyHostKeyDNS no
UseDNS no
Thank you Mr GetoptIn file ssh_config set
This prevents SSHFP requests to DNS servers. This is causing the delay if the DNS server does not find anything. This might also be regarded as leaking ssh usage when not configured properly.Code:VerifyHostKeyDNS no
In file sshd_config set
prevents looking up the IP of a SSH-host, so in most cases there should be used "yes" unless you want to use IP numbers only.Code:UseDNS no
From OS command line it is fine without any delay it opens.getopt Sir when i enter sqlplus then sys as sysdba when i enter password it take 1 to 2 minuets .