ssh hangs when executing a command
- From: Bill Lee <Bill@xxxxxxxxx>
- Date: Fri, 10 Apr 2009 15:36:15 -0700 (PDT)
Environment:
Desktop - Fedora 10 (named beta)
Laptop - Fedora 10 (named delta)
I am trying to get F10 installed on the laptop so that I can use
unison (with ssh) to crossload files between the desktop and the
laptop.
I can use ssh to login to the laptop from the desktop. E.g.,
ssh delta
but attempting to execute a command via ssh simply hangs. E.g.,
ssh delta "/bin/pwd"
I have installed tcsh on all systems and my login shell is csh (i.e.,
tcsh) on all machines.
I need some pointers on where to look for problems, etc.
Running ssh with -v:
===============
bill-beta-105: ssh -v delta "/bin/pwd"
OpenSSH_5.1p1, OpenSSL 0.9.8g 19 Oct 2007
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to delta [192.168.0.104] port 22.
debug1: Connection established.
debug1: identity file /home/bill/.ssh/identity type -1
debug1: identity file /home/bill/.ssh/id_rsa type -1
debug1: identity file /home/bill/.ssh/id_dsa type 2
debug1: Remote protocol version 2.0, remote software version
OpenSSH_5.1
debug1: match: OpenSSH_5.1 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.1
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host 'delta' is known and matches the RSA host key.
debug1: Found key in /home/bill/.ssh/known_hosts:3
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,gssapi-with-
mic,password
debug1: Next authentication method: gssapi-with-mic
debug1: Unspecified GSS failure. Minor code may provide more
information
No credentials cache found
debug1: Unspecified GSS failure. Minor code may provide more
information
No credentials cache found
debug1: Unspecified GSS failure. Minor code may provide more
information
debug1: Next authentication method: publickey
debug1: Trying private key: /home/bill/.ssh/identity
debug1: Trying private key: /home/bill/.ssh/id_rsa
debug1: Offering public key: /home/bill/.ssh/id_dsa
debug1: Server accepts key: pkalg ssh-dss blen 433
debug1: read PEM private key done: type DSA
debug1: Authentication succeeded (publickey).
debug1: channel 0: new [client-session]
debug1: Requesting no-more-sessions@xxxxxxxxxxx
debug1: Entering interactive session.
debug1: Sending environment.
debug1: Sending env LANG = en_US.UTF-8
debug1: Sending env LANGUAGE =
debug1: Sending env LC_ALL = en
debug1: Sending command: /bin/pwd
===============
Nothing returns and the ssh command never completes.
Thanks.
Bill Lee
.
- Follow-Ups:
- Re: ssh hangs when executing a command
- From: Bill Lee
- Re: ssh hangs when executing a command
- Prev by Date: Re: putty 0.58
- Next by Date: Re: ssh hangs when executing a command
- Previous by thread: putty 0.58
- Next by thread: Re: ssh hangs when executing a command
- Index(es):
Relevant Pages
|