ssh Long time to return prompt.


 
Thread Tools Search this Thread
Operating Systems Solaris ssh Long time to return prompt.
# 1  
Old 06-29-2009
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.
# 2  
Old 06-29-2009
M5000 firmware upgraded? Should do that first. let us know the outcome.
# 3  
Old 06-29-2009
How to do what? Connect?

If after you login the perfoamce seems fine I would check the following:

1. Naming service, bad config can cause delays.
2. User authentication, which might relate to number 1.
3. Port speed and duplex on both sites.

Without more data, that would be my guess. Also I hope you have have some training on the M series, they are a bit uniq.
# 4  
Old 06-29-2009
Check out the M5000 administration doc. They will explain to you how to upgrade the firmware from the web gui.
# 5  
Old 06-29-2009
You could also try 'ssh -vvv $user@$server' to see what ssh is doing for it authentication.

Once logged in check for
network speed/duplex settings 'dladm show-dev',
network errors via netstat
(or as shown here: dladm - Display Link status,speed,duplex,statistics,MTU | Sun Solaris System Admin), and
'svcs -xv' o/p.
# 6  
Old 06-29-2009
Quote:
Originally Posted by frozentin
You could also try 'ssh -vvv $user@$server' to see what ssh is doing for it authentication.

Once logged in check for
network speed/duplex settings 'dladm show-dev',
network errors via netstat
(or as shown here: dladm - Display Link status,speed,duplex,statistics,MTU | Sun Solaris System Admin), and
'svcs -xv' o/p.
I thought OP said that only after hitting the userid and password, the slowness is happening ??Smilie
# 7  
Old 06-29-2009
Quote:
Originally Posted by incredible
I thought OP said that only after hitting the userid and password, the slowness is happening ??Smilie
Wouldn't -vvv rule out the existance of a delay in the remote server verifying a user's passwd???
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

First script in a long time

I was wondering if I could get some feedback on my script to grab time from our MDM... I blocked out all of the important stuff. I really appreciate any guidance, since I am long out of practice. #!/bin/bash serial=$1 # get last seen value of ipad lastseen=$(curl -s -X "GET"... (11 Replies)
Discussion started by: andysensible
11 Replies

2. Shell Programming and Scripting

How to add charactère before all line return by prompt?

For example, if i do ls I want to have a string like "<br> file1 ....... <br>file2 ..... <br>file3 ....." i think i ve to use xargs, but i can't find the solution. Thanks (3 Replies)
Discussion started by: cterra
3 Replies

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

4. Programming

Test SSH but do not return password prompt

Hello forum, I want to have a function to test for passwordless SSH setup. Pretty simple. However, what I'm finding difficult is to NOT return a password prompt to screen IF it's not in place. Here's the function: check_passwordless_ssh_working() #check passed parameter, assuming it is... (4 Replies)
Discussion started by: doonan_79
4 Replies

5. Shell Programming and Scripting

script submitted using ssh does not return to command prompt

Gurus, I have written a shell script to backup a database and applications. This is how the script works: 1. As applications user (say applmgr), the main backup script, say backup.sh, is kicked off. 2. backup.sh does ssh to oracle user and kicks off the database backup using nohup and... (1 Reply)
Discussion started by: sunpraveen
1 Replies

6. Shell Programming and Scripting

help - exec time too long

Dear everyone... thanks to this forum I am able to do everyday more and more complex scripts...but now I come up with problem with optimisation.. problem 1 - optimise: here is my code: while read number do nawk -F "|" -v... (8 Replies)
Discussion started by: abdulaziz
8 Replies

7. UNIX for Dummies Questions & Answers

Argument list too long - SSH

Hi I executed the code for file in `ls pdb*.ent` do new_name=`echo $file | sed 's/^pdb//;s/.ent/.txt/'` mv $file $new_name done Its giving error at ' ls pdb*.ent' argument list too long i have around 150000 entries please help Thank you (6 Replies)
Discussion started by: empyrean
6 Replies

8. Shell Programming and Scripting

How would you return how long a script runs for?

When running a ksh script, how would you time how long it took the script ran for? Is there a command that can capture this? (1 Reply)
Discussion started by: Jazmania
1 Replies

9. Shell Programming and Scripting

date and time on every time pressing return key

Hi all, I have a situation here, I want that every time when i press "enter key" in bash prompt i want the date command to be executed. i have tried to make some changes in "/etc/bashrc" but no luck. Thanx in advance (1 Reply)
Discussion started by: xander
1 Replies

10. Shell Programming and Scripting

Carriage return on long awk operation

hello all I have long awk function that doing manipulations on text file but when I write the out put to new text file I have carriage return between 2 print commands How can I avoid this ? Here is my awk : echo $f | awk... (1 Reply)
Discussion started by: umen
1 Replies
Login or Register to Ask a Question