- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- it is very slow to get command prompt after enteri...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-04-2009 10:01 AM
тАО08-04-2009 10:01 AM
In of my Suse linux server, it is very slow to get command prompt after entering the password when logging thru putty (ssh).
How to solve this?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-04-2009 10:29 AM
тАО08-04-2009 10:29 AM
Re: it is very slow to get command prompt after entering the password when logging thru putty (ssh)
in:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1358233
?
A Forum search for keywords like
ssh slow
might find some of the dozens of similar, old
threads.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-05-2009 04:56 AM
тАО08-05-2009 04:56 AM
Re: it is very slow to get command prompt after entering the password when logging thru putty (ssh)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-05-2009 05:47 AM
тАО08-05-2009 05:47 AM
Re: it is very slow to get command prompt after entering the password when logging thru putty (ssh)
UseDNS no
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-05-2009 06:29 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-05-2009 07:08 AM
тАО08-05-2009 07:08 AM
Re: it is very slow to get command prompt after entering the password when logging thru putty (ssh)
Add some commands like:
echo "in the beginning of /etc/profile"
to various locations in the login scripts, then try to locate the point where the system spends a lot of time.
One common reason for slow logins is a large wtmp file (/var/log/wtmp in most Linuxes). This usually affects all logins, not only SSH logins. In this case, the slowness usually happens before /etc/profile starts executing.
The wtmp file records all login/logout events. The system must search through it to find & display the last login times. The bigger the file is, the more time the login procedure takes.
RedHat systems have a cron job that periodically truncates the wtmp file (using logrotate to archive a few old versions). This prevents it from ever getting too big. You should check if SuSE has ready-made scripts or cron jobs to manage the wtmp file, and consider enabling them. If there is nothing, write your own.
The simplest script for truncating the wtmp file would be:
#!/bin/sh
# backup the old wtmp file
cp /var/log/wtmp /var/log/wtmp.old
# truncate the wtmp file
> /var/log/wtmp
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-05-2009 04:36 PM
тАО08-05-2009 04:36 PM