- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ssh upgrade --login prompt takes time
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
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
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
тАО07-07-2009 06:52 AM
тАО07-07-2009 06:52 AM
Re: ssh upgrade --login prompt takes time
nsquery hosts local-IP-address
nslookup local-IP-address
If the IP address cannot be resolved (technically, authenticated), you'll see a 30 second delay for each DNS server listed in /etc/resolv.conf. Check /etc/nsswitch.conf for these lines:
hosts: files [NOTFOUND=continue UNAVAIL=continue] dns
ipnodes: files [NOTFOUND=return] dns
If dns is first, try putting files first, then add the IP address (and dummy name) of your local machine to /etc/hosts and try ssh again.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2009 10:52 PM
тАО07-07-2009 10:52 PM
Re: ssh upgrade --login prompt takes time
I checked all your suggetions but not resolved the problem.
Mel,
Below are lines uncommented in sshd_config file
[server8:/opt/ssh/etc]grep -v '#' sshd_config
Protocol 2
PermitRootLogin no
KerberosAuthentication yes
UsePAM yes
X11Forwarding yes
X11UseLocalhost no
EnforceSecureTTY yes
Subsystem sftp /opt/ssh/libexec/sftp-server
When ssh -vvv is working fine means with no time it is givinig promt. I am using putty 0.60 which was downloaded from
http://www.chiark.greenend.org.uk/~sgtatham/putty/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2009 10:55 PM
тАО07-07-2009 10:55 PM
Re: ssh upgrade --login prompt takes time
But other 11.23 version unix servers i am able to login with no issue. The problem where i am facing is 11.11 version hpunix servers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-08-2009 05:23 AM
тАО07-08-2009 05:23 AM
Re: ssh upgrade --login prompt takes time
Since server to server is OK, these boxes probably have a validated IP address from your DNS server. Since only your desktop (Linux or a PC?) fails, it is likely that your server does not know your IP address.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-09-2009 12:48 AM
тАО07-09-2009 12:48 AM
Re: ssh upgrade --login prompt takes time
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2009 12:46 AM
тАО10-13-2009 12:46 AM
Re: ssh upgrade --login prompt takes time
I had same problem on some servers, in my case it was related to wtmps file. On one of the servers wtmps file was 1,8GB big and login took over 1 min. After I have zeroing the wtmps file, login takes ~2 sec.
You can use script below to archive and clear wtmps file:
/usr/sbin/acct/fwtmp < /var/adm/wtmps > $SOME_DIR/wtmp_`date +%Y%m%d`.txt
cat /dev/null > /var/adm/wtmps
Pozdrawiam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2009 09:44 AM
тАО10-13-2009 09:44 AM
Re: ssh upgrade --login prompt takes time
cat /dev/null > /var/adm/wtmps
wtmps? or wtmpx?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-13-2009 09:44 AM
тАО10-13-2009 09:44 AM
Re: ssh upgrade --login prompt takes time
cat /dev/null > /var/adm/wtmps
wtmps or wtmpx?
- « Previous
-
- 1
- 2
- Next »