Solaris 9 - SSH 40 Second Delay


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris 9 - SSH 40 Second Delay
# 15  
Old 05-10-2013
Quote:
Originally Posted by kingdbag
I am also connecting to the server always by it's IP address never by domain name or anything.
Then you might try adding the server on a client's /etc/hosts and use a hostname instead of an IP to see if that makes a difference.

Is connecting from the server to the server exhibiting the same issue ?
Code:
ssh 127.0.0.1

# 16  
Old 05-10-2013
Yes, it looks like a delay caused by network function so could be a number of things.

Your Solaris box doesn't use DNS but other network security devices or other nodes might. Some network security devices may be trying to do a reverse DNS lookup to validate the initiator of the connection so you should get your network support to check that entries for the client and server are in there.

Also, take a look in /etc/defaultrouter and see that ip address. Is it still valid? When a inbound connection request comes in Solaris needs to instantly know the route back. I've known network support boys to retire a router and not tell everybody so Solaris then tries to use an incorrect default router. Check with the network team that your configured default router is still alive and kicking. Try pinging it and see if it instantly responds.

Have you tried doing the same connection from a different client? Do you get the same result? What about a different client in a different location?

Can you ping your client from the server? (Of course, not all nodes may be configured to reply to pings but if it does work then it tells you something.)

If I get any more thoughts then I'll post them. Good hunting.

PS. How many NIC's in the box? Can we all assume just the one?

Last edited by hicksd8; 05-10-2013 at 11:35 AM..
# 17  
Old 05-10-2013
Quote:
Originally Posted by jlliagre
Then you might try adding the server on a client's /etc/hosts and use a hostname instead of an IP to see if that makes a difference.

Is connecting from the server to the server exhibiting the same issue ?
Code:
ssh 127.0.0.1

Yes, server to same server is doing the same thing as a remote connection. Also, when I try and connect to 127.0.0.1 it still shows the same symptoms. When I try and connect to a web page or anything on the server it works instantly it only seems to be SSH that I'm having issues with...

@hicks I will also try some of the stuff you are talking about to see if I notice anything.
# 18  
Old 05-10-2013
It's definitely no IP routing problem then!
Does
Code:
grep '^[^#]' /etc/net/*/hosts

yield 3 times the local hostname that matches in /etc/hosts,
and does its IP address match a working interface in
Code:
ifconfig -a

?
# 19  
Old 05-10-2013
Connection to 127.0.0.1 should be instant. It can be slow if reverse lookup doesn't work. Please confirm

Code:
 
127.0.0.1   localhost

appears in /etc/hosts.

Also, from the server try connecting using the server's real ip address (rather than 127.0.0.1). Is that slow too?

Last edited by hicksd8; 05-10-2013 at 12:53 PM..
# 20  
Old 05-10-2013
@kindbag Anything interesting in the system log file ?
Code:
dmesg | grep sshd

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

SSH and telnet long delay to recieve prompt.

Hi guys. You'd have to excuse me a bit, as I'm a noob. I really try to avoid asking questions and do research for whatever linux issues that may arise. I am experiencing a long wait for the shell to come up when I ssh or telnet into a Sunos 5.10 environment. It takes 70 seconds to give me... (12 Replies)
Discussion started by: gpenco
12 Replies

2. Red Hat

Ssh logon delay

OS - Oracle Linux 5.6 and 6.3 (Oracle Linux is based on Red Hat). Background: I have several OL 5.6 virtual machines running under Virtual Box on my Win7 Pro desktop. Due to the way VBox handles networking through the network adapter it installs on the host OS, I build my vm's with 2 virtual... (8 Replies)
Discussion started by: edstevens
8 Replies

3. Solaris

Solaris ssh client hangs when connecting to another Solaris machine

Got a strange problem. I have 4 Solaris servers all configured the same, Solaris 10 x86 update 10. When I try to ssh from one Solaris 10 server to another server ssh hangs. I have an identical server and when I try this everything works fine. The weird thing is if I am root on the server... (1 Reply)
Discussion started by: ccj4467
1 Replies

4. Solaris

Delay after invalid SSH logon?

I am trying to configure a 4 second delay between failed login attempts on SSH. (1 Reply)
Discussion started by: LittleLebowski
1 Replies

5. Solaris

Solaris 10 - ssh out ok, but ssh in not

Hi, It's a Solaris 10 zone. I can ssh to other systems without problems, but can not ssh to it (output attached). I don't think there is a firewall here. /etc/ipf/ipf.conf contains nothing. What could be the problem cause? Please help. Thank you in advance! sshclient$ ssh -v thiserver... (1 Reply)
Discussion started by: aixlover
1 Replies

6. Solaris

Unable to login using ssh,telnet onto my solaris machine with solaris 10 installed

Hi, I am unable to login into my terminal hosting Solaris 10 and get the below error message "Server refused to allocate pty ld.so.1: sh: fatal: libc.so.1: open failed: No such file or directory " Is there anyways i can get into my machine and what kind of changes are required to be... (7 Replies)
Discussion started by: sankasu
7 Replies

7. Solaris

How to use SSH in Solaris 10?

Hi, I m new to Sun Solaris. I've only changed the PermitRootLogin from no to yes, so that I can login as root from Window vista by using Putty.exe. Then I can create new users and change password. Except the above configuration, i have do nothing to my SSH server. Am I need to generate... (5 Replies)
Discussion started by: stacychiam
5 Replies

8. Linux

delay getting ssh login prompt

Hi, We currently have a problem on a centos server when i try to ssh to it there is a significant delay in getting a login prompt. What would be the steps in troubleshooting this issue? I have try to narrow down a possible network issue but cannot see anything obviously wrong in the routing table,... (4 Replies)
Discussion started by: borderblaster
4 Replies

9. Solaris

ssh for solaris 8

Hi all, i need to run ssh for solaris 8 my server version is SunOS myserver 5.8 Generic_117350-25 sun4u sparc SUNW,Sun-Fire-880 wher i can get this? pls help Thanx n Regards/Ajay (3 Replies)
Discussion started by: ajays
3 Replies

10. Solaris

trouble auto connecting ssh 3.6.1 (Solaris 8) to ssh 3.0.1 (Solaris 6)

I am currently setting up rdiff-backup to use ssh to connect and remotely backup and retrieve data. I am doing so by creating rsa keys for each server and copying the relevant key to the /.ssh folder on the relevant server. All seems to work well when severs running solaris 8 with ssh 3.6.1 are... (6 Replies)
Discussion started by: falklandtim
6 Replies
Login or Register to Ask a Question