LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   openssh client EXTREMELY unresponsive during connect (https://www.linuxquestions.org/questions/linux-software-2/openssh-client-extremely-unresponsive-during-connect-551353/)

jakykong 05-04-2007 05:05 PM

openssh client EXTREMELY unresponsive during connect
 
Hi!
I have an interesting problem with the OpenSSH client.
First off, putty works fine -- the server is perfectly fine, it's the client.

When I try to connect to my (or any -- tried one at rootshell.be, too), I type the command:
ssh jakykong@host
And then I sit and wait for about 10 minutes w/ the ssh program doing seemingly NOTHING, until it finally asks for my password.

Putty asks for my password almost instantly when I run it.

Does anyone know what could cause this problem?

OpenSSH config file /etc/ssh/ssh_config
Code:


# This is the ssh client system-wide configuration file.  See
# ssh_config(5) 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 some commonly used options.  For a comprehensive
# list of available options, their meanings and defaults, please see the
# ssh_config(5) man page.

Host *

#  ForwardAgent no
#  ForwardX11 no
#  ForwardX11Trusted yes
#  RhostsRSAAuthentication no
#  RSAAuthentication yes
  PasswordAuthentication yes
#  HostbasedAuthentication no
#  BatchMode no
#  CheckHostIP yes
#  AddressFamily any
#  ConnectTimeout 0
  StrictHostKeyChecking ask
#  IdentityFile ~/.ssh/identity
#  IdentityFile ~/.ssh/id_rsa
#  IdentityFile ~/.ssh/id_dsa
#  Port 22
#  Protocol 2,1
#  Cipher 3des
#  Ciphers aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc
#  EscapeChar ~
#  Tunnel no
#  TunnelDevice any:any
#  PermitLocalCommand no
    SendEnv LANG LC_*
    HashKnownHosts yes
    GSSAPIAuthentication yes
    GSSAPIDelegateCredentials no

It's the stock config file with debian etch.

jschiwal 05-04-2007 05:30 PM

I wonder if it is a problem with looking up a host IP number due to the CheckHostIP option. It is recommended to have this option enabled. You might try entering "host host" and see if there is a long delay. Also try the -v verbose option to ssh. You should be able to tell what is going on when it is stalling. Is there a long wait if you use the IP address instead of the hostname?


All times are GMT -5. The time now is 08:07 PM.