- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: slow SSH
Operating System - HP-UX
1748228
Members
4397
Online
108759
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО09-27-2010 01:52 PM
тАО09-27-2010 01:52 PM
I installed new version OpenSSH 5.5 on hp-ux 11.23.
When I ssh to that machine with new SSH version, it takes about 10-12 seconds to get there. Much slower.
Telnet is fine, there are no DNS issues as far as I can tell.
I have other machines with identical sshd_config file that do not have that issue.
Any idea what's going on?
When I ssh to that machine with new SSH version, it takes about 10-12 seconds to get there. Much slower.
Telnet is fine, there are no DNS issues as far as I can tell.
I have other machines with identical sshd_config file that do not have that issue.
Any idea what's going on?
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2010 02:14 PM
тАО09-27-2010 02:14 PM
Solution
Shalom,
If the only change factor is openssh, then bad software is the likely cause.
Did you get openssh from http://software.hp.com where it is named secure shell? If yes, report the problem and wait for a new version.
SEP
If the only change factor is openssh, then bad software is the likely cause.
Did you get openssh from http://software.hp.com where it is named secure shell? If yes, report the problem and wait for a new version.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2010 04:39 PM
тАО09-27-2010 04:39 PM
Re: slow SSH
There are two areas where ssh can slow down. The first is the remote server. It must do a lot of computing so if it is a very slow D350 or K320, then the random number computation will be very slow -- all connections to these machines will appear to be slow to start.
The second is address resolution and DNS is very often the culprit. nslookup is not enough. Like telnet and rlogin, the ssh code will try to validate the hostname *and* the IP address. This means that the DNS server must store both records. But when the DNS server is managed by Windows admins, they often fail to add the reverse lookup records.
For servers, I never rely on DNS as the first authority. Use /etc/hosts first, then DNS and don't search unavailable services such as NIS or LDAP. Do this by editing the lines in /etc/nsswitch.conf:
hosts: files [NOTFOUND=continue UNAVAIL=continue] dns
ipnodes: files [NOTFOUND=continue UNAVAIL=continue] dns
Now populate /etc/hosts with the servers you'll be contacting along with PCs and MACs that connect often.
Also check DNS with nsquery rather than nslookup:
nsquery hosts itrc.hp.com
nsquery hosts 15.217.80.218
Bill Hassell, sysadmin
The second is address resolution and DNS is very often the culprit. nslookup is not enough. Like telnet and rlogin, the ssh code will try to validate the hostname *and* the IP address. This means that the DNS server must store both records. But when the DNS server is managed by Windows admins, they often fail to add the reverse lookup records.
For servers, I never rely on DNS as the first authority. Use /etc/hosts first, then DNS and don't search unavailable services such as NIS or LDAP. Do this by editing the lines in /etc/nsswitch.conf:
hosts: files [NOTFOUND=continue UNAVAIL=continue] dns
ipnodes: files [NOTFOUND=continue UNAVAIL=continue] dns
Now populate /etc/hosts with the servers you'll be contacting along with PCs and MACs that connect often.
Also check DNS with nsquery rather than nslookup:
nsquery hosts itrc.hp.com
nsquery hosts 15.217.80.218
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2010 05:36 PM
тАО09-27-2010 05:36 PM
Re: slow SSH
pls check the size of /var/adm/wtmps file.
have you restarted the sshd services after upgrade ?
have you restarted the sshd services after upgrade ?
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP