Run this from your home directory after you log in:
Try logging in again.
The default login process is to run a quota check for space usage against all files systems. If the server you're logging into has a lot of file systems - especially NFS-mounted file systems - that can take a while.
Usually creating a ".hushlogin" file in your home directory will disable the quota checks.
If that doesn't work, you really need root access to definitively locate the issue.
Find the "parent" sshd daemon, then as root run truss against it:
Make SURE the output file you select is secure - it will have your password embedded in it if you use password authentication. And that of everyone else who logs in while the truss process is running.
While that's running, log in, log out, kill the truss process, and look into the output. You'll see all the system calls made by the original sshd daemon, along with all the child processes fork()'d off. Somewhere in there, you'll see some long delays. Whatever is taking long to do, that's where your delay is.
i had the similar issue on one of my server. Was related to a DNS misconfiguration.
take very long to connect (estabilish a connection to the host) and also to login!
my suggestion is to recheck your dns configuration.
is there a sapce or tab (are not allowed) after "domain macau.com" in your resolv.conf file?
or what you can try is to save the hostname and ip of your remote server in your /etc/hosts file. If it's faster than you have a problem in you dns config!!
Hi all ,
am using unix aix
I have a files in one directory..
my files as in format qqss0607.ddd.. (06 is date 07 is month)
how to check the missing dates ....
can anyone tell me... (9 Replies)
Hi Am using unix aix
I have a group of files in File1
For ex:-
Vi file1
A0405
A0605
A0805
When i tried using awk command am getting an error as No space
a=`awk 'NF < 1 {next;} p && p != $1 { for( i = p; i < $1; i++ )print i; } {p = $1 + 1 }' file2`
Error message:-
+ + awk NF <... (7 Replies)
When I am trying to login to a server using Putty ssh from my windows xp machine it is taking too much time for login.
My server name is http2 and when I enter this address into putty I immediately get
login as:
screen, but after I put my username root and enter the cursor moves downwards... (14 Replies)
Hi,
I am trying to login using ssh on Red Hat Linux 5 server,
The password appears immediately but after I enter the password it takes about 90 seconds to login completely.
Please suggest what changes require?
Regards,
Manoj (4 Replies)
Hello,
I have created a web page on a server using apache and added .htaccess and .htpasswd in the folder for authentification.
I was wondering if there was anyway to tie-in the login for this page with the login used to logon to the server.
i.e. the same login info. is used for both, when... (1 Reply)
i want to write a shell script that can be run as
./deployPortal.sh -version 5.1.2 -portlet -exportall
how can i do that?
version param is required. bu the others are optional.
in first step i only want to read 5.1.2, is portlet selected ? and is exportall selected ??
can you... (2 Replies)
Hello.
Since Yesterday, I notice that after giving telnet IP or SSH IP - it takes long time to display login: , I mean earlier after entering Server name It used to immediately ask for login ID and then password. But, now it takes min of 2-3 minute to ask for password.
Where can I check,... (12 Replies)
I know this may be in the wrong forum but it will be seen more often here...
WOW!! Someone is really mad at SCO regarding their latest attempt to push around the free Linux world...
But seems someone did the old rockem sockem to SCO!!
... (6 Replies)