From: raphael.berbain@gmail.com (Raphaël Berbain)
To: help-gnu-emacs@gnu.org
Subject: Re: remote tramp hangs
Date: Tue, 01 Dec 2009 22:54:20 +0100 [thread overview]
Message-ID: <yzvd42yqskw.fsf@did75-11-82-231-40-223.fbx.proxad.net> (raw)
In-Reply-To: mailman.11976.1259697012.2239.help-gnu-emacs@gnu.org
* Harry Putnam:
> raphael.berbain@gmail.com (Raphaël Berbain) writes:
>
>> Hi,
>>
>> I am having problems making tramp work. In a nutshell, "/remotehost:"
>> works, but "/root@remotehost:" doesn't work, though I can passwordlessly
>> ssh/scp root@remotehost. It hangs with the message "Tramp: Found remote
>> shell prompt on `remotehost'".
>
> I think Peter D has put you on the right track but since no one here
> has mentioned it so far, another way to gather some info and maybe see
> how the root shell is responding is to do a direct ssh but with the -v
> set and even -vv:
>
> ssh -vv root@problemhost
rgb@miaou:~$ ssh -vv root@harry
OpenSSH_5.1p1 Debian-6ubuntu2, OpenSSL 0.9.8g 19 Oct 2007
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to harry [192.168.12.1] port 22.
debug1: Connection established.
debug1: identity file /home/rgb/.ssh/identity type -1
debug2: key_type_from_name: unknown key type '-----BEGIN'
debug2: key_type_from_name: unknown key type '-----END'
debug1: identity file /home/rgb/.ssh/id_rsa type 1
debug1: Checking blacklist file /usr/share/ssh/blacklist.RSA-2048
debug1: Checking blacklist file /etc/ssh/blacklist.RSA-2048
debug1: identity file /home/rgb/.ssh/id_dsa type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.2
debug1: match: OpenSSH_5.2 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.1p1 Debian-6ubuntu2
debug2: fd 3 setting O_NONBLOCK
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr
debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib
debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit: first_kex_follows 0
debug2: kex_parse_kexinit: reserved 0
debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none,zlib@openssh.com
debug2: kex_parse_kexinit: none,zlib@openssh.com
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit: first_kex_follows 0
debug2: kex_parse_kexinit: reserved 0
debug2: mac_setup: found hmac-md5
debug1: kex: server->client aes128-cbc hmac-md5 none
debug2: mac_setup: found hmac-md5
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
debug2: dh_gen_key: priv key bits set: 134/256
debug2: bits set: 508/1024
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host 'harry' is known and matches the RSA host key.
debug1: Found key in /home/rgb/.ssh/known_hosts:8
debug2: bits set: 517/1024
debug1: ssh_rsa_verify: signature correct
debug2: kex_derive_keys
debug2: set_newkeys: mode 1
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug2: set_newkeys: mode 0
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug2: service_accept: ssh-userauth
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug2: key: /home/rgb/.ssh/id_rsa (0x7f36b5808a90)
debug2: key: /home/rgb/.ssh/identity ((nil))
debug2: key: /home/rgb/.ssh/id_dsa ((nil))
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Offering public key: /home/rgb/.ssh/id_rsa
debug2: we sent a publickey packet, wait for reply
debug1: Server accepts key: pkalg ssh-rsa blen 277
debug2: input_userauth_pk_ok: fp 75:4c:f6:0e:95:51:4c:75:39:9d:33:7c:e1:15:0e:5e
debug1: Authentication succeeded (publickey).
debug2: fd 6 setting O_NONBLOCK
debug1: channel 0: new [client-session]
debug2: channel 0: send open
debug1: Requesting no-more-sessions@openssh.com
debug1: Entering interactive session.
debug2: callback start
debug2: client_session2_setup: id 0
debug2: channel 0: request pty-req confirm 1
debug1: Sending environment.
debug2: channel 0: request shell confirm 1
debug2: fd 3 setting TCP_NODELAY
debug2: callback done
debug2: channel 0: open confirm rwindow 0 rmax 32768
debug2: channel_input_confirm: type 99 id 0
debug2: PTY allocation request accepted on channel 0
debug2: channel 0: rcvd adjust 2097152
debug2: channel_input_confirm: type 99 id 0
debug2: shell request accepted on channel 0
# ^D
debug2: channel 0: rcvd eof
debug2: channel 0: output open -> drain
debug2: channel 0: obuf empty
debug2: channel 0: close_write
debug2: channel 0: output drain -> closed
debug2: channel 0: rcvd close
debug2: channel 0: almost dead
debug2: channel 0: gc: notify user
debug2: channel 0: gc: user detached
debug2: channel 0: send close
debug2: channel 0: is dead
debug2: channel 0: garbage collecting
debug1: channel 0: free: client-session, nchannels 1
Connection to harry closed.
Transferred: sent 2528, received 2360 bytes, in 3.5 seconds
Bytes per second: sent 731.6, received 683.0
debug1: Exit status 0
next prev parent reply other threads:[~2009-12-01 21:54 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-01 11:03 remote tramp hangs Raphaël Berbain
2009-12-01 18:16 ` Andreas Politz
2009-12-01 19:04 ` Peter Dyballa
2009-12-01 19:47 ` Harry Putnam
2009-12-01 20:12 ` Michael Albinus
[not found] ` <mailman.11972.1259694305.2239.help-gnu-emacs@gnu.org>
2009-12-01 21:46 ` Raphaël Berbain
[not found] ` <mailman.11976.1259697012.2239.help-gnu-emacs@gnu.org>
2009-12-01 21:54 ` Raphaël Berbain [this message]
[not found] ` <mailman.11977.1259698390.2239.help-gnu-emacs@gnu.org>
2009-12-01 21:55 ` Raphaël Berbain
2009-12-02 9:23 ` Michael Albinus
[not found] ` <mailman.12019.1259745826.2239.help-gnu-emacs@gnu.org>
2009-12-02 9:56 ` Raphaël Berbain
2009-12-02 10:15 ` Tim X
2009-12-02 13:56 ` Raphaël Berbain
2009-12-02 13:01 ` Michael Albinus
2009-12-02 17:02 ` Andreas Politz
[not found] ` <mailman.12025.1259758918.2239.help-gnu-emacs@gnu.org>
2009-12-02 13:56 ` Raphaël Berbain
2009-12-02 21:33 ` Michael Albinus
[not found] ` <mailman.12053.1259789634.2239.help-gnu-emacs@gnu.org>
2009-12-03 9:35 ` Raphaël Berbain
2009-12-03 11:22 ` Raphaël Berbain
2009-12-03 20:58 ` Michael Albinus
[not found] ` <mailman.12120.1259873928.2239.help-gnu-emacs@gnu.org>
2009-12-03 22:50 ` Raphaël Berbain
2009-12-07 6:43 ` Michael Albinus
[not found] ` <mailman.12409.1260168197.2239.help-gnu-emacs@gnu.org>
2009-12-14 14:20 ` Raphaël Berbain
2009-12-15 6:27 ` Michael Albinus
[not found] ` <mailman.12991.1260858434.2239.help-gnu-emacs@gnu.org>
2009-12-15 8:14 ` Raphaël Berbain
2009-12-15 21:17 ` Michael Albinus
2009-12-02 22:03 ` notbob
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=yzvd42yqskw.fsf@did75-11-82-231-40-223.fbx.proxad.net \
--to=raphael.berbain@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).