- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ssh-connect is very slow
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
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
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
02-07-2002 12:56 AM
02-07-2002 12:56 AM
ssh-connect is very slow
I have installed ssh 3.0.2p1 on my HP-UX (11.00) N-Class-Server.
When I connect from this Server to an other ssh-Server it takes a long time to connect (> 50 sec.).
When I use the -v option I can see that the delay is in this step: debug1: Reading configuration data /opt/openssh2/etc/ssh_config.
The connect from an other Client to my HP-UX N-Class-Server is fast.
Thanks for help
Robert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2002 01:06 AM
02-07-2002 01:06 AM
Re: ssh-connect is very slow
Sounds like
http://forums1-qa2.mayfield.hp.com/cm/QuestionAnswer/1,,0x5ac879bffde7d4118fef0090279cd0f9,00.html
Please read it
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2002 01:20 AM
02-07-2002 01:20 AM
Re: ssh-connect is very slow
It is probably due to reverse dns resolution. Check your reverse name resolution on the destination server. Perform an nslookup test:
# nslookup ip_address_of_ssh_client
Hope this helps. Regards.
Steven Sim Kok Leong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2002 01:27 AM
02-07-2002 01:27 AM
Re: ssh-connect is very slow
the link is not achievable.
Robert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2002 01:30 AM
02-07-2002 01:30 AM
Re: ssh-connect is very slow
the nslookup works fine.
Robert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2002 01:33 AM
02-07-2002 01:33 AM
Re: ssh-connect is very slow
From your client that you ssh from, what are the permissions on /opt/openssh2/etc/ssh_config ie.
# ll /opt/openssh2/etc/ssh_config
Can you show us your ssh_config?
# cat /opt/openssh2/etc/ssh_config
Hope this helps. Regards.
Steven Sim Kok Leong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2002 01:46 AM
02-07-2002 01:46 AM
Re: ssh-connect is very slow
ll ssh_config
-rw-r--r-- 1 root sys 1051 Feb 7 08:50 ssh_config
[db:root:/dev/pts/tc] /opt/openssh2/etc #
more ssh_config
# $OpenBSD: ssh_config,v 1.10 2001/04/03 21:19:38 todd Exp $
# This is ssh client systemwide configuration file. See ssh(1) for more
# information. This file provides defaults for users, and the values can
# be changed in per-user configuration files or on the command line.
# Configuration data is parsed as follows:
# 1. command line options
# 2. user-specific file
# 3. system-wide file
# Any configuration value is only changed the first time it is set.
# Thus, host-specific definitions should be at the beginning of the
# configuration file, and defaults at the end.
# Site-wide defaults for various options
# Host *
# ForwardAgent no
# ForwardX11 no
# RhostsAuthentication no
# RhostsRSAAuthentication yes
# RSAAuthentication yes
# PasswordAuthentication yes
# FallBackToRsh no
# UseRsh no
# BatchMode no
# CheckHostIP yes
# StrictHostKeyChecking yes
# IdentityFile ~/.ssh/identity
# IdentityFile ~/.ssh/id_dsa
# IdentityFile ~/.ssh/id_rsa
# Port 22
# Protocol 2,1
# Cipher blowfish
# EscapeChar ~
Robert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2002 01:47 AM
02-07-2002 01:47 AM
Re: ssh-connect is very slow
Is this server in a 'DMZ'?
If so you will experience some delays depending on the bandiwidth.
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2002 01:50 AM
02-07-2002 01:50 AM
Re: ssh-connect is very slow
Can you nslookup your server from your client?
Try setting CheckHostIP to no in your ssh_config.
# CheckHostIP yes
CheckHostIP no
Hope this helps. Regards.
Steven Sim Kok Leong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2002 01:51 AM
02-07-2002 01:51 AM
Re: ssh-connect is very slow
no, the server is not in a DMZ.
Robert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2002 02:15 AM
02-07-2002 02:15 AM
Re: ssh-connect is very slow
the nslookup works fine.
It also does not work withe the optin "CheckHostIP no" in my ssh_config.
Robert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2002 06:20 AM
08-07-2002 06:20 AM
Re: ssh-connect is very slow
We currently have Secure Shell A.03.10.002 and we had the same problem. We pounded out the "df" and #df -i" in the /opt/ssh/etc/ssh_prng_cmds file. We noticed there were alot of df processes when we ran ssh.
Hope this helps,
Tony T.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2002 06:20 AM
08-07-2002 06:20 AM
Re: ssh-connect is very slow
We currently have Secure Shell A.03.10.002 and we had the same problem. We pounded out the "df" and "df -i" in the /opt/ssh/etc/ssh_prng_cmds file. We noticed there were alot of df processes when we ran ssh.
Hope this helps,
Tony T.