SSH and telnet long delay to recieve prompt.


 
Thread Tools Search this Thread
Operating Systems Solaris SSH and telnet long delay to recieve prompt.
# 8  
Old 02-18-2016
so where did it hang?

seems like you have a lot of ssh keys configured but you are still using a password.

is this the first time you've tried to ssh to the IP?
# 9  
Old 02-18-2016
I don't really get a hang until the end where it says
Last login: Wed Feb 17 15:46:31 2016 from 172.19.135.243

From there I have to wait 70 seconds for my prompt

and when I do get my prompt and I'm done working and type 'exit'
I have to wait about 30 seconds for it to exit ssh

Its not my first time sshing to it.
# 10  
Old 02-18-2016
Quote:
Originally Posted by gpenco
I don't really get a hang until the end where it says
Last login: Wed Feb 17 15:46:31 2016 from 172.19.135.243
Then ignore SSH.

Once you get to that point you have successfully connected.

What you are seeing is a delay on the server itself. Likely caused by under provisioned memory or a run away application.

Top would be a good place to start.

look for hung or zombie processes.

also look at the memory usage vs provisioned.
This User Gave Thanks to os2mac For This Post:
# 11  
Old 02-18-2016
Thanks for your help.

Deeply appreciated.

I'm now going to research how to find hung or zombie processes.
# 12  
Old 02-18-2016
one last thing.

I'm assuming when you referenced 'DNS issues' you were referring to DNS reverse lookup.

so, did you restart sshd after you made the change to the /etc/ssh/sshd.conf file?
# 13  
Old 02-18-2016
Yes I did os2mac and it was unsuccessful.

---------- Post updated at 10:47 AM ---------- Previous update was at 10:46 AM ----------

Pertainging to the useDNS=no......there is no useDNS
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Solaris 9 - SSH 40 Second Delay

I'm having an issue with SSH on a server that hasn't had any configuration changes made on it in a long time. I SSH to the server and it hangs at "debug1: SSH2_MSG_KEXINIT sent" for exactly 40 seconds then connects fine after that pause. Everything I have found points to DNS, but I use host files... (19 Replies)
Discussion started by: kingdbag
19 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

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

4. Shell Programming and Scripting

Net::Telnet (match prompt)

Hi, The code below is used to telnet to list of devices and configure them. The program executes in this manner: 1. telnet to the first device in file.txt 2. one the telnet command is executed a "press any key to continue" prompts. 3. once a return key is executed it ask for username,... (1 Reply)
Discussion started by: sureshcisco
1 Replies

5. Shell Programming and Scripting

Telnet in command prompt

Hi, i have typed telnet yahoo.com 80 in command prompt it displays as a blank command prompt page titling as Telnet Yahoo.com Other than that i am not able to get anything. can anyone sort me out the reason for this (12 Replies)
Discussion started by: satheeshkr_cse
12 Replies

6. Solaris

ssh Long time to return prompt.

Hi All, I was installed new server M5000 on solaris10. I'am try to connect to server by ssh client (putty) after type user name and password the server take long time to return prompt to me about 30-60 second. any body can suggess me how to do it. (8 Replies)
Discussion started by: cesmk
8 Replies

7. 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

8. Shell Programming and Scripting

Grep causing long delay (batching) whilst piping

Hi all. I have a problem at work which I have managed to break down into a simple test scenario: I have written a monitoring script that outputs every second the status of various processes, but for now, lets just print the date input.sh: while true do date sleep 1 done This... (9 Replies)
Discussion started by: spudtheimpaler
9 Replies

9. UNIX for Advanced & Expert Users

Long Delay if any with network services

While installing a firewall, I was pinging the interface from SCO 5.0.6 Openserver box, while no response, I hit "DEL" to cancel, but no cancel. Then all of a sudden I get BOO-KOO traffic lights on HUB and Switch.... Then a kernel trap error. System froze... Proceeded with a cold boot. Now I have... (8 Replies)
Discussion started by: nashvillek5
8 Replies
Login or Register to Ask a Question