Go Back   The UNIX and Linux Forums > Operating Systems > Solaris


Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 03-06-2012
Registered User
 
Join Date: Jun 2010
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Java Open Indiana 151a - Slow SSH Login

Hi, I have the following issue, when I tried to login to an Openindiana remote server through ssh It takes to long to ask me for the password. So i tried -v and I realize that sshd hangs here " debug1: SSH2_MSG_SERVICE_ACCEPT received " for at least 2 minutes. Then I can log in and everything is fine.

Any suggest or advice where to start...?
Sponsored Links
    #2  
Old 03-06-2012
pludi's Avatar
pludi pludi is offline Forum Staff  
Cat herder
 
Join Date: Dec 2008
Location: Vienna, Austria, Earth
Posts: 5,519
Thanks: 38
Thanked 333 Times in 306 Posts
Your machine probably doesn't have a reverse DNS record, and OpenSSH by default checks for such a record. Add the line
Code:
UseDNS no

anywhere in your sshd_config , reload the daemon, and it should work just fine.
The Following User Says Thank You to pludi For This Useful Post:
piukeman (03-06-2012)
Sponsored Links
    #3  
Old 03-06-2012
Registered User
 
Join Date: Feb 2012
Location: Cornwall, UK
Posts: 408
Thanks: 7
Thanked 73 Times in 71 Posts
Yep, it's almost certain a DNS issue. I agree with pludi.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Net::SSH::Perl slow to login. mrwatkin Shell Programming and Scripting 2 03-26-2011 06:39 AM
Slow login via SSH MikeKulls Solaris 12 09-08-2010 03:30 AM
Slow Login mass1123 Solaris 4 01-16-2008 09:54 AM
Really slow login... any ideas why? kenny123m UNIX for Dummies Questions & Answers 5 02-23-2007 10:20 AM
Solaris 9 slow login thru ssh & ftp BG_JrAdmin Solaris 2 09-07-2005 02:54 AM



All times are GMT -4. The time now is 09:00 AM.