help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tramp (2.1.17-pre); Nothing happens, waiting for something after "found


From: Sébastien Vauban
Subject: tramp (2.1.17-pre); Nothing happens, waiting for something after "found remote shell prompt"
Date: Wed, 08 Dec 2010 15:34:43 -0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (windows-nt)

Hello,

I would like to connect, using Tramp,

- from my EmacsW32 (GNU Emacs 23.1.50.1 (i386-mingw-nt5.1.2600) of 2009-10-14
  on LENNART-69DE564 [patched]) on Windows XP

- to a Cygwin SSH server deployed on a remote Windows XP machine (in the same
  LAN).

I'm trying this using:
- plink as method (I've previously installed PuTTY)
- bash as shell-file-name

My Cygwin prompt on both the client and server machines is of the form:

--8<---------------cut here---------------start------------->8---
    /user@host:path number$
--8<---------------cut here---------------end--------------->8---

hence, mono-line and uncolored (no ANSI characters in it).

Here is what's in my .emacs file:

--8<---------------cut here---------------start------------->8---
    (setq shell-file-name "bash")
    (setenv "SHELL" "bash")
    (setq shell-command-switch "-c")
    (setq w32-quote-process-args t)
    (setq explicit-shell-file-name "bash")
--8<---------------cut here---------------end--------------->8---

Here is what I see in the echo area.

--8<---------------cut here---------------start------------->8---
Tramp: Waiting 60s for local shell to come up...
Tramp: Sending command `plink cauchy -l fni  -ssh && exit || exit'
Tramp: Waiting for prompts from remote shell
Tramp: Sending password
Tramp: Found remote shell prompt on `cauchy'
--8<---------------cut here---------------end--------------->8---

... but it does not do anything else... and I have to stop waiting after more
than a minute. Not connected, though...

Best regards.


Emacs  : GNU Emacs 23.1.50.1 (i386-mingw-nt5.1.2600)
 of 2009-10-14 on LENNART-69DE564 (patched)
Package: tramp (2.1.17-pre)

current state:
==============
(setq
 tramp-current-method "plink"
 tramp-current-user "fni"
 tramp-current-host "cauchy"
 tramp-auto-save-directory "c:/DOCUME~1/Fabrice/LOCALS~1/Temp/"
 tramp-default-method "plink"
 tramp-default-method-alist '(("" "\\`\\(anonymous\\|ftp\\)\\'" "ftp") 
("\\`ftp\\." "" "ftp") ("\\`localhost\\'" "\\`root\\'" "su"))
 tramp-default-host "MEDIACENTER"
 tramp-default-proxies-alist '(("10.10.13.123" "\\`root\\'" "/ssh:%h:"))
 tramp-default-user "fni"
 tramp-default-user-alist '(("imaps" nil "Fabrice") ("imap" nil "Fabrice")
 ("socks" nil "Fabrice") ("tunnel" nil "Fabrice")
                            ("fish" nil "Fabrice") ("\\`su\\(do\\)?\\'" nil
 "root")
                            ("\\`r\\(em\\)?\\(cp\\|sh\\)\\|telnet\\|plink1?\\'" 
nil "Fabrice"))
 tramp-rsh-end-of-line "\n"
 tramp-default-password-end-of-line "\n"
 tramp-login-prompt-regexp ".*ogin\\( .*\\)?: *"
 tramp-password-prompt-regexp "(base64-decode-string 
\"Xi4qXChbcFBdYXNzd29yZFx8W3BQXWFzc3BocmFzZVwpLio6AD8gKg==\""
 tramp-wrong-passwd-regexp "^.*\\(Connection 
\\(?:\\(?:clo\\|refu\\)sed\\)\\|Host key verification failed\\.\\|Login 
\\(?:[Ii]ncorrect\\)\\|N\\(?:ame or service not known\\|o supported 
authentication methods left to try!\\)\\|Permission denied\\|Sorry, try 
again\\.\\).*\\|^.*\\(Received signal [0-9]+\\).*"
 tramp-yesno-prompt-regexp "\\(Are you sure you want to continue connecting 
(yes/no)\\?\\)\\s-*"
 tramp-yn-prompt-regexp "\\(\\(?:Store key in cache\\? (y/\\|Update cached 
key\\? (y/n, Return cancels connectio\\)n)\\)\\s-*"
 tramp-terminal-prompt-regexp "\\(TERM = (.*)\\|Terminal type\\? 
\\[.*\\]\\)\\s-*"
 tramp-temp-name-prefix "tramp."
 tramp-file-name-structure '("^/\\(\\([a-zA-Z_0-9-]+\\):\\)?\\(\\([^:/  
]+\\)@\\)?\\(\\([a-zA-Z0-9_.-]+\\|\\[\\(?:\\(?:[a-zA-Z0-9]+\\)?:\\)+[a-zA-Z0-9.]+]\\)\\(#[0-9]+\\)?\\)?:\\(.*$\\)"
 2 4 5 8)
 tramp-file-name-regexp "\\`/\\([^[/:]+\\|[^/]+]\\):"
 tramp-methods '(("imaps" (tramp-default-port 993)) ("imap"
 (tramp-default-port 143)) ("fish") ("ftp")
                 ("rcp" (tramp-login-program "rsh") (tramp-login-args (("%h")
 ("-l" "%u"))) (tramp-remote-sh "/bin/sh")
                  (tramp-copy-program "rcp") (tramp-copy-args (("-p" "%k")
 ("-r"))) (tramp-copy-keep-date t)
                  (tramp-copy-recursive t) (tramp-password-end-of-line nil))
                 ("scp" (tramp-login-program "ssh") (tramp-login-args (("%h")
 ("-l" "%u") ("-p" "%p") ("-q") ("-e" "none")))
                  (tramp-remote-sh "/bin/sh") (tramp-copy-program "scp")
 (tramp-copy-args (("-P" "%p") ("-p" "%k") ("-q") ("-r")))
                  (tramp-copy-keep-date t) (tramp-copy-recursive t)
 (tramp-password-end-of-line nil)
                  (tramp-gw-args
                   (("-o" "GlobalKnownHostsFile=/dev/null") ("-o"
 "UserKnownHostsFile=/dev/null") ("-o" "StrictHostKeyChecking=no")))
                  (tramp-default-port 22))
                 ("scp1" (tramp-login-program "ssh") (tramp-login-args (("%h")
 ("-l" "%u") ("-p" "%p") ("-q") ("-1" "-e" "none")))
                  (tramp-remote-sh "/bin/sh") (tramp-copy-program "scp")
                  (tramp-copy-args (("-1") ("-P" "%p") ("-p" "%k") ("-q")
 ("-r"))) (tramp-copy-keep-date t) (tramp-copy-recursive t)
                  (tramp-password-end-of-line nil)
                  (tramp-gw-args
                   (("-o" "GlobalKnownHostsFile=/dev/null") ("-o"
 "UserKnownHostsFile=/dev/null") ("-o" "StrictHostKeyChecking=no")))
                  (tramp-default-port 22))
                 ("scp2" (tramp-login-program "ssh") (tramp-login-args (("%h")
 ("-l" "%u") ("-p" "%p") ("-q") ("-2" "-e" "none")))
                  (tramp-remote-sh "/bin/sh") (tramp-copy-program "scp")
                  (tramp-copy-args (("-2") ("-P" "%p") ("-p" "%k") ("-q")
 ("-r"))) (tramp-copy-keep-date t) (tramp-copy-recursive t)
                  (tramp-password-end-of-line nil)
                  (tramp-gw-args
                   (("-o" "GlobalKnownHostsFile=/dev/null") ("-o"
 "UserKnownHostsFile=/dev/null") ("-o" "StrictHostKeyChecking=no")))
                  (tramp-default-port 22))
                 ("scp1_old" (tramp-login-program "ssh1") (tramp-login-args
 (("%h") ("-l" "%u") ("-p" "%p") ("-e" "none")))
                  (tramp-remote-sh "/bin/sh") (tramp-copy-program "scp1")
 (tramp-copy-args (("-p" "%k") ("-r")))
                  (tramp-copy-keep-date t) (tramp-copy-recursive t)
 (tramp-password-end-of-line nil))
                 ("scp2_old" (tramp-login-program "ssh2") (tramp-login-args
 (("%h") ("-l" "%u") ("-p" "%p") ("-e" "none")))
                  (tramp-remote-sh "/bin/sh") (tramp-copy-program "scp2")
 (tramp-copy-args (("-p" "%k") ("-r")))
                  (tramp-copy-keep-date t) (tramp-copy-recursive t)
 (tramp-password-end-of-line nil))
                 ("sftp" (tramp-login-program "ssh") (tramp-login-args (("%h")
 ("-l" "%u") ("-p" "%p") ("-e" "none")))
                  (tramp-remote-sh "/bin/sh") (tramp-copy-program "sftp")
 (tramp-copy-args nil) (tramp-copy-keep-date nil)
                  (tramp-password-end-of-line nil))
                 ("rsync" (tramp-login-program "ssh") (tramp-login-args
 (("%h") ("-l" "%u") ("-p" "%p") ("-e" "none")))
                  (tramp-remote-sh "/bin/sh") (tramp-copy-program "rsync")
 (tramp-copy-args (("-e" "ssh") ("-t" "%k") ("-r")))
                  (tramp-copy-keep-date t) (tramp-copy-recursive t)
 (tramp-password-end-of-line nil))
                 ("rsyncc" (tramp-login-program "ssh")
                  (tramp-login-args
                   (("%h") ("-l" "%u") ("-p" "%p") ("-o"
 "ControlPath=%t.%%r@%%h:%%p") ("-o" "ControlMaster=yes") ("-e" "none")))
                  (tramp-remote-sh "/bin/sh") (tramp-copy-program "rsync")
 (tramp-copy-args (("-t" "%k") ("-r")))
                  (tramp-copy-env (("RSYNC_RSH") ("ssh -o
 ControlPath=%t.%%r@%%h:%%p -o ControlMaster=auto")))
                  (tramp-copy-keep-date t) (tramp-copy-recursive t)
 (tramp-password-end-of-line nil))
                 ("remcp" (tramp-login-program "remsh") (tramp-login-args
 (("%h") ("-l" "%u"))) (tramp-remote-sh "/bin/sh")
                  (tramp-copy-program "rcp") (tramp-copy-args (("-p" "%k")))
 (tramp-copy-keep-date t)
                  (tramp-password-end-of-line nil))
                 ("rsh" (tramp-login-program "rsh") (tramp-login-args (("%h")
 ("-l" "%u"))) (tramp-remote-sh "/bin/sh")
                  (tramp-copy-program nil) (tramp-copy-args nil)
 (tramp-copy-keep-date nil) (tramp-password-end-of-line nil))
                 ("ssh" (tramp-login-program "ssh") (tramp-login-args (("%h")
 ("-l" "%u") ("-p" "%p") ("-q") ("-e" "none")))
                  (tramp-remote-sh "/bin/sh") (tramp-copy-program nil)
 (tramp-copy-args nil) (tramp-copy-keep-date nil)
                  (tramp-password-end-of-line nil)
                  (tramp-gw-args
                   (("-o" "GlobalKnownHostsFile=/dev/null") ("-o"
 "UserKnownHostsFile=/dev/null") ("-o" "StrictHostKeyChecking=no")))
                  (tramp-default-port 22))
                 ("ssh1" (tramp-login-program "ssh") (tramp-login-args (("%h")
 ("-l" "%u") ("-p" "%p") ("-q") ("-1" "-e" "none")))
                  (tramp-remote-sh "/bin/sh") (tramp-copy-program nil)
 (tramp-copy-args nil) (tramp-copy-keep-date nil)
                  (tramp-password-end-of-line nil)
                  (tramp-gw-args
                   (("-o" "GlobalKnownHostsFile=/dev/null") ("-o"
 "UserKnownHostsFile=/dev/null") ("-o" "StrictHostKeyChecking=no")))
                  (tramp-default-port 22))
                 ("ssh2" (tramp-login-program "ssh") (tramp-login-args (("%h")
 ("-l" "%u") ("-p" "%p") ("-q") ("-2" "-e" "none")))
                  (tramp-remote-sh "/bin/sh") (tramp-copy-program nil)
 (tramp-copy-args nil) (tramp-copy-keep-date nil)
                  (tramp-password-end-of-line nil)
                  (tramp-gw-args
                   (("-o" "GlobalKnownHostsFile=/dev/null") ("-o"
 "UserKnownHostsFile=/dev/null") ("-o" "StrictHostKeyChecking=no")))
                  (tramp-default-port 22))
                 ("ssh1_old" (tramp-login-program "ssh1") (tramp-login-args
 (("%h") ("-l" "%u") ("-p" "%p") ("-e" "none")))
                  (tramp-remote-sh "/bin/sh") (tramp-copy-program nil)
 (tramp-copy-args nil) (tramp-copy-keep-date nil)
                  (tramp-password-end-of-line nil))
                 ("ssh2_old" (tramp-login-program "ssh2") (tramp-login-args
 (("%h") ("-l" "%u") ("-p" "%p") ("-e" "none")))
                  (tramp-remote-sh "/bin/sh") (tramp-copy-program nil)
 (tramp-copy-args nil) (tramp-copy-keep-date nil)
                  (tramp-password-end-of-line nil))
                 ("remsh" (tramp-login-program "remsh") (tramp-login-args
 (("%h") ("-l" "%u"))) (tramp-remote-sh "/bin/sh")
                  (tramp-copy-program nil) (tramp-copy-args nil)
 (tramp-copy-keep-date nil) (tramp-password-end-of-line nil))
                 ("telnet" (tramp-login-program "telnet") (tramp-login-args
 (("%h") ("%p"))) (tramp-remote-sh "/bin/sh")
                  (tramp-copy-program nil) (tramp-copy-args nil)
 (tramp-copy-keep-date nil) (tramp-password-end-of-line nil)
                  (tramp-default-port 23))
                 ("su" (tramp-login-program "su") (tramp-login-args (("-")
 ("%u"))) (tramp-remote-sh "/bin/sh")
                  (tramp-copy-program nil) (tramp-copy-args nil)
 (tramp-copy-keep-date nil) (tramp-password-end-of-line nil))
                 ("sudo" (tramp-login-program "sudo") (tramp-login-args (("-u"
 "%u") ("-s") ("-H") ("-p" "Password:")))
                  (tramp-remote-sh "/bin/sh") (tramp-copy-program nil)
 (tramp-copy-args nil) (tramp-copy-keep-date nil)
                  (tramp-password-end-of-line nil))
                 ("scpc" (tramp-login-program "ssh")
                  (tramp-login-args
                   (("%h") ("-l" "%u") ("-p" "%p") ("-q") ("-o"
 "ControlPath=%t.%%r@%%h:%%p") ("-o" "ControlMaster=yes")
                    ("-e" "none"))
                   )
                  (tramp-remote-sh "/bin/sh") (tramp-copy-program "scp")
                  (tramp-copy-args (("-P" "%p") ("-p" "%k") ("-q") ("-o"
 "ControlPath=%t.%%r@%%h:%%p") ("-o" "ControlMaster=auto")))
                  (tramp-copy-keep-date t) (tramp-password-end-of-line nil)
                  (tramp-gw-args
                   (("-o" "GlobalKnownHostsFile=/dev/null") ("-o"
 "UserKnownHostsFile=/dev/null") ("-o" "StrictHostKeyChecking=no")))
                  (tramp-default-port 22))
                 ("scpx" (tramp-login-program "ssh")
                  (tramp-login-args (("%h") ("-l" "%u") ("-p" "%p") ("-q")
 ("-e" "none" "-t" "-t" "/bin/sh")))
                  (tramp-remote-sh "/bin/sh") (tramp-copy-program "scp")
 (tramp-copy-args (("-p" "%k"))) (tramp-copy-keep-date t)
                  (tramp-password-end-of-line nil)
                  (tramp-gw-args
                   (("-o" "GlobalKnownHostsFile=/dev/null") ("-o"
 "UserKnownHostsFile=/dev/null") ("-o" "StrictHostKeyChecking=no")))
                  (tramp-default-port 22))
                 ("sshx" (tramp-login-program "ssh")
                  (tramp-login-args (("%h") ("-l" "%u") ("-p" "%p") ("-q")
 ("-e" "none" "-t" "-t" "/bin/sh")))
                  (tramp-remote-sh "/bin/sh") (tramp-copy-program nil)
 (tramp-copy-args nil) (tramp-copy-keep-date nil)
                  (tramp-password-end-of-line nil)
                  (tramp-gw-args
                   (("-o" "GlobalKnownHostsFile=/dev/null") ("-o"
 "UserKnownHostsFile=/dev/null") ("-o" "StrictHostKeyChecking=no")))
                  (tramp-default-port 22))
                 ("krlogin" (tramp-login-program "krlogin") (tramp-login-args
 (("%h") ("-l" "%u") ("-x")))
                  (tramp-remote-sh "/bin/sh") (tramp-copy-program nil)
 (tramp-copy-args nil) (tramp-copy-keep-date nil)
                  (tramp-password-end-of-line nil))
                 ("plink" (tramp-login-program "plink") (tramp-login-args
 (("%h") ("-l" "%u") ("-P" "%p") ("-ssh")))
                  (tramp-remote-sh "/bin/sh") (tramp-copy-program nil)
 (tramp-copy-args nil) (tramp-copy-keep-date nil)
                  (tramp-password-end-of-line "xy") (tramp-default-port 22))
                 ("plink1" (tramp-login-program "plink") (tramp-login-args
 (("%h") ("-l" "%u") ("-P" "%p") ("-1" "-ssh")))
                  (tramp-remote-sh "/bin/sh") (tramp-copy-program nil)
 (tramp-copy-args nil) (tramp-copy-keep-date nil)
                  (tramp-password-end-of-line "xy") (tramp-default-port 22))
                 ("plinkx" (tramp-login-program "plink")
                  (tramp-login-args (("-load") ("%h") ("-t") ("env 'TERM=dumb'
 'PROMPT_COMMAND=' 'PS1=$ '") ("/bin/sh")))
                  (tramp-remote-sh "/bin/sh") (tramp-copy-program nil)
 (tramp-copy-args nil) (tramp-copy-keep-date nil)
                  (tramp-password-end-of-line nil))
                 ("pscp" (tramp-login-program "plink") (tramp-login-args
 (("%h") ("-l" "%u") ("-P" "%p") ("-ssh")))
                  (tramp-remote-sh "/bin/sh") (tramp-copy-program "pscp")
 (tramp-copy-args (("-P" "%p") ("-scp") ("-p" "%k")))
                  (tramp-copy-keep-date t) (tramp-password-end-of-line "xy")
 (tramp-default-port 22))
                 ("psftp" (tramp-login-program "plink") (tramp-login-args
 (("%h") ("-l" "%u") ("-P" "%p") ("-ssh")))
                  (tramp-remote-sh "/bin/sh") (tramp-copy-program "pscp")
 (tramp-copy-args (("-P" "%p") ("-sftp") ("-p" "%k")))
                  (tramp-copy-keep-date t) (tramp-password-end-of-line "xy"))
                 ("fcp" (tramp-login-program "fsh") (tramp-login-args (("%h")
 ("-l" "%u") ("sh" "-i")))
                  (tramp-remote-sh "/bin/sh -i") (tramp-copy-program "fcp")
 (tramp-copy-args (("-p" "%k"))) (tramp-copy-keep-date t)
                  (tramp-password-end-of-line nil))
                 )
 tramp-end-of-output "///77657d3502c121977584ac7ec5d40d3b$"
 tramp-local-coding-commands '((b64 base64-encode-region base64-decode-region)
 (uu tramp-uuencode-region uudecode-decode-region)
                               (pack "perl -e 'binmode STDIN; binmode STDOUT;
 print pack(q{u*}, join q{}, <>)'"
                                "perl -e 'binmode STDIN; binmode STDOUT; print
 unpack(q{u*}, join q{}, <>)'")
                               )
 tramp-remote-coding-commands '((b64 "base64" "base64 -d") (b64 "mimencode -b"
 "mimencode -u -b")
                                (b64 "mmencode -b" "mmencode -u -b") (b64
 "recode data..base64" "recode base64..data")
                                (b64 tramp-perl-encode-with-module
 tramp-perl-decode-with-module)
                                (b64 tramp-perl-encode tramp-perl-decode) (uu
 "uuencode xxx" "uudecode -o /dev/stdout")
                                (uu "uuencode xxx" "uudecode -o -") (uu
 "uuencode xxx" "uudecode -p")
                                (uu "uuencode xxx" tramp-uudecode)
                                (pack "perl -e 'binmode STDIN; binmode STDOUT;
 print pack(q{u*}, join q{}, <>)'"
                                 "perl -e 'binmode STDIN; binmode STDOUT;
 print unpack(q{u*}, join q{}, <>)'")
                                )
 tramp-actions-before-shell '((tramp-login-prompt-regexp tramp-action-login)
 (tramp-password-prompt-regexp tramp-action-password)
                              (tramp-wrong-passwd-regexp
 tramp-action-permission-denied) (shell-prompt-pattern tramp-action-succeed)
                              (tramp-shell-prompt-pattern
 tramp-action-succeed) (tramp-yesno-prompt-regexp tramp-action-yesno)
                              (tramp-yn-prompt-regexp tramp-action-yn)
 (tramp-terminal-prompt-regexp tramp-action-terminal)
                              (tramp-process-alive-regexp 
tramp-action-process-alive))
 tramp-actions-copy-out-of-band '((tramp-password-prompt-regexp
 tramp-action-password)
                                  (tramp-wrong-passwd-regexp
 tramp-action-permission-denied)
                                  (tramp-copy-failed-regexp
 tramp-action-permission-denied)
                                  (tramp-process-alive-regexp 
tramp-action-out-of-band))
 tramp-terminal-type "dumb"
 tramp-shell-prompt-pattern "(base64-decode-string 
\"XCg/Ol5cfA1cKVteIyQlPgpdKlsjJCU+XSAqXCgbXFtbMC05O10qW2EtekEtWl0gKlwpKg==\""
 tramp-backup-directory-alist nil
 tramp-cache-data '((["ssh" "sysman" "russell" nil] ("uname" "Linux
 2.6.28-19-server") ("test" "test") ("/bin" t) ("/usr/bin" t)
                     ("/usr/sbin" t) ("/usr/local/bin" t) ("/local/bin" nil)
 ("/local/freeware/bin" nil) ("/local/gnu/bin" nil)
                     ("/usr/freeware/bin" nil) ("/usr/pkg/bin" nil)
 ("/usr/contrib/bin" nil)
                     ("remote-path" ("/bin" "/usr/bin" "/usr/sbin"
 "/usr/local/bin")) ("remote-shell" "/bin/sh")
                     ("file-exists" "test -e") ("ls" "/bin/ls") ("stat"
 "\\stat") ("id" "/usr/bin/id") ("gid-integer" 1000))
                    (["ssh" "fni" "russell" nil] ("uname" "Linux
 2.6.28-19-server") ("test" "test") ("/bin" t) ("/usr/bin" t)
                     ("/usr/sbin" t) ("/usr/local/bin" t) ("/local/bin" nil)
 ("/local/freeware/bin" nil) ("/local/gnu/bin" nil)
                     ("/usr/freeware/bin" nil) ("/usr/pkg/bin" nil)
 ("/usr/contrib/bin" nil)
                     ("remote-path" ("/bin" "/usr/bin" "/usr/sbin"
 "/usr/local/bin")) ("remote-shell" "/bin/sh")
                     ("file-exists" "test -e") ("ls" "/bin/ls") ("stat"
 "\\stat") ("id" "/usr/bin/id") ("gid-integer" 10000))
                    (["ssh" "jscorpio" "ftp.mygooglest.com" nil] ("uname"
 "Linux 2.6.18-164.6.1.el5") ("test" "test") ("/bin" t)
                     ("/usr/bin" t) ("/usr/sbin" t) ("/usr/local/bin" t)
 ("/local/bin" nil) ("/local/freeware/bin" nil)
                     ("/local/gnu/bin" nil) ("/usr/freeware/bin" nil)
 ("/usr/pkg/bin" nil) ("/usr/contrib/bin" nil)
                     ("remote-path" ("/bin" "/usr/bin" "/usr/sbin"
 "/usr/local/bin")) ("remote-shell" "/bin/sh")
                     ("file-exists" "test -e") ("ls" "/bin/ls") ("stat"
 "\\stat") ("id" "/usr/bin/id") ("gid-integer" 32075))
                    (["sudo" "root" "localhost" nil] ("uname" "Linux
 2.6.32-24-generic") ("test" "test") ("/bin" t) ("/usr/bin" t)
                     ("/usr/sbin" t) ("/usr/local/bin" t) ("/local/bin" nil)
 ("/local/freeware/bin" nil) ("/local/gnu/bin" nil)
                     ("/usr/freeware/bin" nil) ("/usr/pkg/bin" nil)
 ("/usr/contrib/bin" nil)
                     ("remote-path" ("/bin" "/usr/bin" "/usr/sbin"
 "/usr/local/bin")) ("remote-shell" "/bin/sh")
                     ("file-exists" "test -e") ("stat" "\\stat") ("id"
 "/usr/bin/id") ("gid-integer" 0) ("uid-integer" 0)
                     ("ls" "/bin/ls") ("local-encoding" base64-encode-region)
 ("local-decoding" base64-decode-region)
                     ("remote-encoding" "base64") ("remote-decoding" "base64
 -d"))
                    (["plink" "fni" "cauchy" nil] ("uname" "CYGWIN_NT-5.0
 1.7.7(0.230/5/3)")
                     ("remote-path" ("/bin" "/usr/bin" "/usr/sbin"
 "/usr/local/bin")))
                    (["plink" "fni" "cauchy" ""] nil)
                    ("#<process *tramp/plink fni@cauchy*>" ("temp-file"
 "c:/DOCUME~1/Fabrice/LOCALS~1/Temp/tramp.4192APX")
                     ("last-cmd-time" (19667 53238 220000))
 ("first-password-request" nil) ("chunksize" 0))
                    )
 shell-prompt-pattern "^[^#$%>\n]*[#$%>] *"
 backup-by-copying t
 backup-by-copying-when-linked nil
 backup-by-copying-when-mismatch nil
 backup-by-copying-when-privileged-mismatch 200
 password-cache t
 password-cache-expiry 60
 backup-directory-alist '(("\\`/\\([^[/:]+\\|[^/]+]\\):") (".*" . 
"~/.emacs.d/backups/"))
 file-name-handler-alist
 
'(("\\.\\(GIF\\|JP\\(?:E?G\\)\\|P\\(?:BM\\|GM\\|N[GM]\\|PM\\)\\|SVG\\|TIFF?\\|X\\(?:[BP]M\\)\\|gif\\|jp\\(?:e?g\\)\\|p\\(?:bm\\|gm\\|n[gm]\\|pm\\)\\|svg\\|tiff?\\|x\\(?:[bp]m\\)\\)\\'"
 . image-file-handler)
   
("\\.Z\\(~\\|\\.~[0-9]+~\\)?\\'\\|\\.bz2\\(~\\|\\.~[0-9]+~\\)?\\'\\|\\.tbz2?\\'\\|\\.\\(?:tgz\\|svgz\\|sifz\\)\\(~\\|\\.~[0-9]+~\\)?\\'\\|\\.g?z\\(~\\|\\.~[0-9]+~\\)?\\'\\|\\.xz\\(~\\|\\.~[0-9]+~\\)?\\'\\|\\.dz\\'"
 . jka-compr-handler)
   ("\\.gpg\\(~\\|\\.~[0-9]+~\\)?\\'" . epa-file-handler)
 ("\\`\\([a-zA-Z]:\\)?/[^/]*\\'" . tramp-completion-file-name-handler)
   ("\\`/\\([^[/:]+\\|[^/]+]\\):" . tramp-file-name-handler) ("\\`/:" . 
file-name-non-special))
 )

(setq
 buffer-name "*tramp/plink fni@cauchy*"
 )

This is a special notion of the `gnus/message' package.  If you
use another mail agent (by copying the contents of this buffer)
please ensure that the buffers are attached to your email.

[6. *tramp/plink fni@cauchy* --- text/plain]

/fni@vpiw-cauchy:~ 0$ 

[7. *debug tramp/plink fni@cauchy* --- text/plain]

;; GNU Emacs: 23.1.50.1 Tramp: 2.1.17-pre -*- mode: outline; -*-
10:35:36.802000 tramp-maybe-open-connection (3) # Opening connection for 
fni@cauchy using plink...
10:35:36.802000 tramp-maybe-open-connection (6) # C:\WINDOWS\system32\cmd.exe
10:35:36.817000 tramp-maybe-open-connection (3) # Waiting 60s for local shell 
to come up...
10:35:36.911000 tramp-wait-for-regexp (6) # 
Microsoft Windows XP [version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

c:\DOCUME~1\Fabrice\LOCALS~1\Temp>
10:35:36.911000 tramp-maybe-open-connection (3) # Sending command `plink cauchy 
-l fni  -ssh && exit || exit'
10:35:36.911000 tramp-send-command (6) # plink cauchy -l fni  -ssh && exit || 
exit
10:35:36.911000 tramp-process-actions (3) # Waiting for prompts from remote 
shell
10:35:36.958000 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( 
.*\)?: *\)\'" from remote shell
10:35:36.958000 tramp-process-one-action (5) # Looking for regexp 
"\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
10:35:36.958000 tramp-process-one-action (5) # Looking for regexp 
"\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification 
failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported 
authentication methods left to try!\)\|Permission denied\|Sorry, try 
again\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
10:35:36.958000 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
10:35:36.958000 tramp-process-one-action (5) # Looking for regexp 
"\(\(?:^\|\)[^#$%>
]*[#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
10:35:36.958000 tramp-process-one-action (5) # Looking for regexp "\(\(Are you 
sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
10:35:36.958000 tramp-process-one-action (5) # Looking for regexp 
"\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels 
connectio\)n)\)\s-*\)\'" from remote shell
10:35:36.958000 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = 
(.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
10:35:36.958000 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from 
remote shell
10:35:36.958000 tramp-process-one-action (5) # Call `tramp-action-process-alive'
10:35:37.958000 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( 
.*\)?: *\)\'" from remote shell
10:35:37.958000 tramp-process-one-action (5) # Looking for regexp 
"\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
10:35:37.958000 tramp-process-one-action (5) # Looking for regexp 
"\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification 
failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported 
authentication methods left to try!\)\|Permission denied\|Sorry, try 
again\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
10:35:37.958000 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
10:35:37.958000 tramp-process-one-action (5) # Looking for regexp 
"\(\(?:^\|\)[^#$%>
]*[#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
10:35:37.958000 tramp-process-one-action (5) # Looking for regexp "\(\(Are you 
sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
10:35:37.958000 tramp-process-one-action (5) # Looking for regexp 
"\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels 
connectio\)n)\)\s-*\)\'" from remote shell
10:35:37.958000 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = 
(.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
10:35:37.958000 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from 
remote shell
10:35:37.958000 tramp-process-one-action (5) # Call `tramp-action-process-alive'
10:35:38.551000 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( 
.*\)?: *\)\'" from remote shell
10:35:38.551000 tramp-process-one-action (5) # Looking for regexp 
"\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
10:35:38.551000 tramp-process-one-action (5) # Call `tramp-action-password'
10:35:38.551000 tramp-action-password (3) # Sending password
10:35:45.737000 tramp-process-one-action (5) # Looking for regexp 
"\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification 
failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported 
authentication methods left to try!\)\|Permission denied\|Sorry, try 
again\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
10:35:45.737000 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
10:35:45.737000 tramp-process-one-action (5) # Looking for regexp 
"\(\(?:^\|\)[^#$%>
]*[#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
10:35:45.737000 tramp-process-one-action (5) # Looking for regexp "\(\(Are you 
sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
10:35:45.737000 tramp-process-one-action (5) # Looking for regexp 
"\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels 
connectio\)n)\)\s-*\)\'" from remote shell
10:35:45.737000 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = 
(.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
10:35:45.737000 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from 
remote shell
10:35:45.737000 tramp-process-one-action (5) # Call `tramp-action-process-alive'
10:35:45.784000 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( 
.*\)?: *\)\'" from remote shell
10:35:45.784000 tramp-process-one-action (5) # Looking for regexp 
"\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
10:35:45.784000 tramp-process-one-action (5) # Looking for regexp 
"\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification 
failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported 
authentication methods left to try!\)\|Permission denied\|Sorry, try 
again\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
10:35:45.784000 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
10:35:45.784000 tramp-process-one-action (5) # Looking for regexp 
"\(\(?:^\|\)[^#$%>
]*[#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
10:35:45.784000 tramp-process-one-action (5) # Looking for regexp "\(\(Are you 
sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
10:35:45.784000 tramp-process-one-action (5) # Looking for regexp 
"\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels 
connectio\)n)\)\s-*\)\'" from remote shell
10:35:45.784000 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = 
(.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
10:35:45.784000 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from 
remote shell
10:35:45.784000 tramp-process-one-action (5) # Call `tramp-action-process-alive'
10:35:45.956000 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( 
.*\)?: *\)\'" from remote shell
10:35:45.956000 tramp-process-one-action (5) # Looking for regexp 
"\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
10:35:45.956000 tramp-process-one-action (5) # Looking for regexp 
"\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification 
failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported 
authentication methods left to try!\)\|Permission denied\|Sorry, try 
again\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
10:35:45.956000 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
10:35:45.956000 tramp-process-one-action (5) # Looking for regexp 
"\(\(?:^\|\)[^#$%>
]*[#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
10:35:45.956000 tramp-process-one-action (5) # Looking for regexp "\(\(Are you 
sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
10:35:45.956000 tramp-process-one-action (5) # Looking for regexp 
"\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels 
connectio\)n)\)\s-*\)\'" from remote shell
10:35:45.956000 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = 
(.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
10:35:45.956000 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from 
remote shell
10:35:45.956000 tramp-process-one-action (5) # Call `tramp-action-process-alive'
10:35:46.955000 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( 
.*\)?: *\)\'" from remote shell
10:35:46.955000 tramp-process-one-action (5) # Looking for regexp 
"\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
10:35:46.955000 tramp-process-one-action (5) # Looking for regexp 
"\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification 
failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported 
authentication methods left to try!\)\|Permission denied\|Sorry, try 
again\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
10:35:46.955000 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
10:35:46.955000 tramp-process-one-action (5) # Looking for regexp 
"\(\(?:^\|\)[^#$%>
]*[#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
10:35:46.955000 tramp-process-one-action (5) # Looking for regexp "\(\(Are you 
sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
10:35:46.955000 tramp-process-one-action (5) # Looking for regexp 
"\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels 
connectio\)n)\)\s-*\)\'" from remote shell
10:35:46.955000 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = 
(.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
10:35:46.955000 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from 
remote shell
10:35:46.955000 tramp-process-one-action (5) # Call `tramp-action-process-alive'
10:35:47.518000 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( 
.*\)?: *\)\'" from remote shell
10:35:47.518000 tramp-process-one-action (5) # Looking for regexp 
"\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
10:35:47.518000 tramp-process-one-action (5) # Looking for regexp 
"\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification 
failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported 
authentication methods left to try!\)\|Permission denied\|Sorry, try 
again\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
10:35:47.518000 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
10:35:47.518000 tramp-process-one-action (5) # Looking for regexp 
"\(\(?:^\|\)[^#$%>
]*[#$%>] *\(\[[0-9;]*[a-zA-Z] *\)*\)\'" from remote shell
10:35:47.518000 tramp-process-one-action (5) # Looking for regexp "\(\(Are you 
sure you want to continue connecting (yes/no)\?\)\s-*\)\'" from remote shell
10:35:47.518000 tramp-process-one-action (5) # Looking for regexp 
"\(\(\(?:Store key in cache\? (y/\|Update cached key\? (y/n, Return cancels 
connectio\)n)\)\s-*\)\'" from remote shell
10:35:47.518000 tramp-process-one-action (5) # Looking for regexp "\(\(TERM = 
(.*)\|Terminal type\? \[.*\]\)\s-*\)\'" from remote shell
10:35:47.518000 tramp-process-one-action (5) # Looking for regexp "\(\)\'" from 
remote shell
10:35:47.518000 tramp-process-one-action (5) # Call `tramp-action-process-alive'
10:35:47.971000 tramp-process-one-action (5) # Looking for regexp "\(.*ogin\( 
.*\)?: *\)\'" from remote shell
10:35:47.986000 tramp-process-one-action (5) # Looking for regexp 
"\(^.*\([pP]assword\|[pP]assphrase\).*:? *\)\'" from remote shell
10:35:47.986000 tramp-process-one-action (5) # Looking for regexp 
"\(^.*\(Connection \(?:\(?:clo\|refu\)sed\)\|Host key verification 
failed\.\|Login \(?:[Ii]ncorrect\)\|N\(?:ame or service not known\|o supported 
authentication methods left to try!\)\|Permission denied\|Sorry, try 
again\.\).*\|^.*\(Received signal [0-9]+\).*\)\'" from remote shell
10:35:47.986000 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%>
]*[#$%>] *\)\'" from remote shell
10:35:47.986000 tramp-process-one-action (5) # Call `tramp-action-succeed'
10:35:47.986000 tramp-process-actions (6) # 
plink cauchy -l fni  -ssh && exit || exit
fni@cauchy's password: 
Last login: Fri Nov  5 10:12:39 2010 from 10.10.10.213

[?1034h/fni@vpiw-cauchy:~ 0$ 
10:35:47.986000 tramp-maybe-open-connection (3) # Found remote shell prompt on 
`cauchy'
10:35:47.986000 tramp-send-command (6) # exec env ENV='' PROMPT_COMMAND='' 
PS1=\$\  PS2='' PS3='' /bin/sh
10:35:48.096000 tramp-wait-for-regexp (6) # 
exec env ENV='' PROMPT_COMMAND='' PS1=\$\  PS2='' PS3='' / bin/sh
[?1034h$ 
10:35:48.096000 tramp-open-connection-setup-interactive-shell (5) # Setting up 
remote shell environment
10:35:48.096000 tramp-send-command (6) # stty -inlcr -echo kill '^U' erase '^H'
10:35:48.221000 tramp-wait-for-regexp (6) # 
stty -inlcr -echo kill '^U' erase '^H'
$ 
10:35:48.221000 tramp-send-command (6) # echo foo
10:35:48.299000 tramp-wait-for-regexp (6) # 
foo
$ 
10:35:48.299000 tramp-open-connection-setup-interactive-shell (5) # Setting 
shell prompt
10:35:48.299000 tramp-send-command (6) # 
PS1=///77657d3502c121977584ac7ec5d40d3b\$
10:35:48.361000 tramp-wait-for-regexp (6) # 
///77657d3502c121977584ac7ec5d40d3b$
10:35:48.361000 tramp-send-command (6) # PS2=''
10:35:48.424000 tramp-wait-for-regexp (6) # 
///77657d3502c121977584ac7ec5d40d3b$
10:35:48.424000 tramp-send-command (6) # PS3=''
10:35:48.486000 tramp-wait-for-regexp (6) # 
///77657d3502c121977584ac7ec5d40d3b$
10:35:48.486000 tramp-send-command (6) # PROMPT_COMMAND=''
10:35:48.549000 tramp-wait-for-regexp (6) # 
///77657d3502c121977584ac7ec5d40d3b$
10:35:48.549000 tramp-open-connection-setup-interactive-shell (5) # Determining 
coding system
10:35:48.549000 tramp-send-command (6) # echo foo ; echo bar
10:35:48.627000 tramp-wait-for-regexp (6) # 
foo
bar
///77657d3502c121977584ac7ec5d40d3b$
10:35:48.627000 tramp-open-connection-setup-interactive-shell (5) # Setting 
coding system to `utf-8-dos' and `utf-8-unix'
10:35:48.627000 tramp-send-command (6) # set +o vi +o emacs
10:35:48.689000 tramp-wait-for-regexp (6) # 
///77657d3502c121977584ac7ec5d40d3b$
10:35:48.689000 tramp-open-connection-setup-interactive-shell (5) # Checking 
system information
10:35:48.845000 tramp-send-command (6) # echo \"`uname -sr`\" 2>/dev/null; echo 
tramp_exit_status $? 
10:35:48.970000 tramp-wait-for-regexp (6) # 
"CYGWIN_NT-5.0 1.7.7(0.230/5/3)"
tramp_exit_status 0
///77657d3502c121977584ac7ec5d40d3b$
10:35:48.970000 tramp-open-connection-setup-interactive-shell (5) # Checking 
remote host type for `send-process-string' bug
10:35:48.970000 tramp-set-remote-path (5) # Setting $PATH environment variable
10:35:48.970000 tramp-send-command (6) # 
PATH=/bin:/usr/bin:/usr/sbin:/usr/local/bin; export PATH
10:35:49.033000 tramp-wait-for-regexp (6) # 
///77657d3502c121977584ac7ec5d40d3b$
10:35:49.033000 tramp-send-command (6) # echo ~root
10:35:49.095000 tramp-wait-for-regexp (6) # 
~root
///77657d3502c121977584ac7ec5d40d3b$
10:35:49.095000 tramp-send-command (6) # which \bash | wc -w
10:35:49.252000 tramp-wait-for-regexp (6) # 
1
///77657d3502c121977584ac7ec5d40d3b$
10:35:49.252000 tramp-find-shell (5) # Starting remote shell `\bash' for tilde 
expansion...
10:35:49.252000 tramp-send-command (6) # PROMPT_COMMAND='' PS1=\$\  PS2='' 
PS3='' exec \bash
10:35:50.204000 tramp-wait-for-regexp (6) # 

[?1034h/fni@vpiw-cauchy:~ 0$ 
10:35:50.204000 tramp-find-shell (5) # Setting remote shell prompt...
10:35:50.204000 tramp-send-command (6) # 
PS1=///77657d3502c121977584ac7ec5d40d3b\$

Best regards.

-- 
Sébastien Vauban


reply via email to

[Prev in Thread] Current Thread [Next in Thread]