ssh slowness


 
Thread Tools Search this Thread
Operating Systems Solaris ssh slowness
# 1  
Old 11-10-2011
ssh slowness

Hi admins,

After changing the ip address(temperorily) ssh to that server is very slow(exactly 25 sec).But from this new ip i can ssh to other servers without any delay problem.

Code:
debug1: match: Sun_SSH_1.1.1 pat Sun_SSH_1.1.1*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-Sun_SSH_1.1.1
debug1: Failed to acquire GSS-API credentials for any mechanisms (No credentials were supplied, or the credentials were unavailable or inacces
mech_dh: Invalid or unknown error
)
debug1: SSH2_MSG_KEXINIT sent
takes 25 secs
debug1: SSH2_MSG_KEXINIT received

We don use DNS. What
Code:
 SSH2_MSG_KEXINIT

do exactly.

Regards
newsol
# 2  
Old 11-10-2011
SSH2_MSG_KEXINIT (key exchange initialization) is the first part of the SSH key exchange, as described here (space added because I am not allowed to post links):

http ://tools.ietf.org/html/rfc4253#section-7.1

Having said that, are you sure this isn't a DNS problem? Delays like this can be caused by the server trying to do a DNS lookup, but getting a timeout. Often this is for logging purposes, so you may be able to prevent it by telling the server to log IP addresses instead of DNS names.
# 3  
Old 12-07-2011
Quote:
Originally Posted by Twirlip
SSH2_MSG_KEXINIT (key exchange initialization) is the first part of the SSH key exchange, as described here (space added because I am not allowed to post links):

http ://tools.ietf.org/html/rfc4253#section-7.1

Having said that, are you sure this isn't a DNS problem? Delays like this can be caused by the server trying to do a DNS lookup, but getting a timeout. Often this is for logging purposes, so you may be able to prevent it by telling the server to log IP addresses instead of DNS names.
Think so, I suppose that it can be suppressed by disabling reverse DNS lookup for sshd daemon.
You can try add line "UseDNS no" into /etc/ssh/sshd_config file.
If you would like to switch off using DNS lookup for sshd at all you should probably add appropriate option to ssh SMF manifest and then refresh service configuration.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Ssh script to validate ssh connection to multiple serves with status

Hi, I want to validate ssh connection one after one for multiple servers..... password less keys already setup but now i want to validate if ssh is working fine or not... I have .sh script like below and i have servers.txt contains all the list of servers #/bin/bash for host in $(cat... (3 Replies)
Discussion started by: sreeram4
3 Replies

2. AIX

Slowness issue

Oracle database is facing slowness issues frequently on AIX server. So can anybody suggest how to fix these issues from OS end? Do we need to tune any parameter in AIX to resolve this issue? Please post in an adequate forum! (1 Reply)
Discussion started by: vithal
1 Replies

3. Solaris

Login slowness from LDOM to ZONE

Need assitance in troubleshooting steps . Below is the issue I have LDOM which has 4 zones on it . One zone logging into the server takes 13sec where as other zones are quick . Troubleshooting steps which I did - Checked /var/tmp . Not many files - We have LDAP but thought that wouldnt be... (7 Replies)
Discussion started by: ajayram_arya
7 Replies

4. Solaris

Java Application slowness with Xmanager

Hi! I have a m3000 server with solaris 10. Clients connecting to server using Xmanager. But when they open a Java based application its very slow and some times hanging. But when I tried with VNC it works fine. Is this a BUG in Xmanager? Or Is there any method to solve this? Thanks, Charith (3 Replies)
Discussion started by: charith.upendra
3 Replies

5. Solaris

NIS performance slowness

Hi I have a Solaris 10 NIS server and more than 250 NIS clients out of these there are 5 main application servers, and whenever there is any compilation happens on any of the application servers (which are acting as NIS clients) entire NIS performance will come down.Can some one help me to fix... (5 Replies)
Discussion started by: nithnara
5 Replies

6. Solaris

Solaris 10 Slowness

Hi, We have got 2 solaris boxes, since our inhouse application has certified on solaris environment and now we need to certify the performance of that application on Solaris environment. 1 box we have installed websphere and the other box we have installed Oracle 10.2.0.3. both are 64bit. ... (5 Replies)
Discussion started by: mp_rocket
5 Replies

7. Solaris

Login Slowness

Hi Folks My Sun Solaris servers are waiting for a long time after keying in the User-ID. There is a big delay in getting to the password prompt. But once the password is keyed in,it goes through in a second. The servers in which i am facing this issue is an NIS client. But i am facing this... (7 Replies)
Discussion started by: Hari_Ganesh
7 Replies

8. HP-UX

HP-UX Intermec Label Slowness

We recently moved from a Open VMS OS to HP-UX. When printing labels on Intermec 3400 printers we are seeing a delay of up to 3 minutes before labels print. We have printers going through a DEC Term servers and Jet Direct boxes. Any suggestions what might be causing this delay? (4 Replies)
Discussion started by: BIGJIM
4 Replies

9. SCO

Terminal Slowness

I have attempted to2find answers to this question: When logging into tty01 the system will take 5 to 10 seconds to display each character typed. Each other terminal will login correctly and display correctly2but not the first terminal. Rebooting was suggested on several sites and this has been... (2 Replies)
Discussion started by: ypanic
2 Replies

10. Linux

slowness of Linux 8.0 server

Hi, I have a Linux 8.0 Redhat installed as a server. The samba configuration was done to allowed logging in to the server from windows workstations. I have a LAN, WAN connection. However, any time the workstation is trying to make a WAN connection it slow down all the systems on the network. Can... (0 Replies)
Discussion started by: kayode
0 Replies
Login or Register to Ask a Question