- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- ssh delay about 16 seconds
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
тАО12-12-2006 05:09 AM
тАО12-12-2006 05:09 AM
ssh delay about 16 seconds
ssh server OS: rhel 4
I ssh my "ssh server", it takes almost 12 seconds before getting the promt(password prompt) back.
#ssh 10.0.0.5
<12 seconds wait>
root@10.0.0.5's password:
I did 'ssh -v 10.0.0.5' and found that the cause of delay(of abt 12 secs) is "Authentication Method".
excerpt from 'ssh -v 10.0.0.5'
debug1: Authentications that can continue: publickey,gssapi-with-mic,password
debug1: Next authentication method: gssapi-with-mic
debug1: An invalid name was supplied
Cannot determine realm for numeric host address
debug1: An invalid name was supplied
Cannot determine realm for numeric host address
debug1: Next authentication method: publickey
debug1: Trying private key: /root/.ssh/identity
debug1: Trying private key: /root/.ssh/id_rsa
debug1: Trying private key: /root/.ssh/id_dsa
debug1: Next authentication method: password
root@10.0.0.5's password:
plz help
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2006 05:35 AM
тАО12-12-2006 05:35 AM
Re: ssh delay about 16 seconds
/etc/ssh/sshd_config
UseDNS no
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2006 05:36 AM
тАО12-12-2006 05:36 AM
Re: ssh delay about 16 seconds
service sshd reload
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-14-2006 10:12 PM
тАО12-14-2006 10:12 PM
Re: ssh delay about 16 seconds
GSSAPIAuthentication yes
to
#GSSAPIAuthentication yes
Thanks anyway
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2007 04:12 AM
тАО01-05-2007 04:12 AM
Re: ssh delay about 16 seconds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-10-2007 11:01 AM
тАО01-10-2007 11:01 AM
Re: ssh delay about 16 seconds
Make sure reserve DNS is working correctly or put your source IP address and hostname in the /etc/hosts file.
If the server does resolve correctly, please check how long it takes to do the reserve DNS lookup (command: dig ipaddress).
If you don't need resolving at all, disable DNS lookups in /etc/ssh/sshd_config "UseDNS no" as others preferred before.