Re: tramp/plink works with one host, but not another
As of tramp 2.0.55, all my hosts work well with plink windows-emacs, thanks! As a side question, what's the difference between the 2.0.x and 2.1.x versions of tramp? ___ Tramp-devel mailing list Tramp-devel@gnu.org http://lists.gnu.org/mailman/listinfo/tramp-devel
Re: tramp/plink works with one host, but not another
Yary H [EMAIL PROTECTED] writes: As a side question, what's the difference between the 2.0.x and 2.1.x versions of tramp? Tramp 2.0 is the stable release. Only bug fixes shall arrive there, no new features (this rule is broken sometimes). Tramp 2.1 is the development release, it contains experimental features. Major differences I'm aware of are - better performance - different implementation of multi-hops - extended possibility to run processes remotely. Best regards, Michael. ___ Tramp-devel mailing list Tramp-devel@gnu.org http://lists.gnu.org/mailman/listinfo/tramp-devel
Re: tramp/plink works with one host, but not another
Yary H [EMAIL PROTECTED] writes: Hi Yari, [sorry for the delay, I was busy last weeks] I can successfully connect via plink from windows command shell or cygwin bash to bell... (netbsd), kzsu... (freebsd), yary...rg (openbsd) However, tramp can only connect to bell kzsu. It fails on yary...rg: Error: File error: [[Regexp `^///dcb65d0c5503bb1df6c14094f9fac5e1^M?$' not found in 10 secs]] tramp-wait-for-regexp: [[Regexp `^///dcb65d0c5503bb1df6c14094f9fac5e1^M?$' not found in 10 secs]] (Where ^M is ctrl-M, I changed for this mail message) - and I only see that error the 2nd time I try, the first time, it hangs.until I hit ^G It's still mysterious. The only thing I can imagine is that there are non-printable characters in the connection buffer. I've seen that on yary...rg your shell echoes the commands, and Tramp applies the usual countermeasures. Maybe something went wrong there. Could you, please, send me as attachment the full content of the buffer *tramp/plink [EMAIL PROTECTED] when the error happens? The last lines of *debug tramp/plink [EMAIL PROTECTED] would be helpful as well, just to see how Tramp did fail. I need them _as-they-are_, in order to check my suspicion. Best regards, Michael. ___ Tramp-devel mailing list Tramp-devel@gnu.org http://lists.gnu.org/mailman/listinfo/tramp-devel
Re: tramp/plink works with one host, but not another
I can successfully connect via plink from windows command shell or cygwin bash to bell... (netbsd), kzsu... (freebsd), yary...rg (openbsd) However, tramp can only connect to bell kzsu. It fails on yary...rg: Error: File error: [[Regexp `^///dcb65d0c5503bb1df6c14094f9fac5e1^M?$' not found in 10 secs]] tramp-wait-for-regexp: [[Regexp `^///dcb65d0c5503bb1df6c14094f9fac5e1^M?$' not found in 10 secs]] (Where ^M is ctrl-M, I changed for this mail message) - and I only see that error the 2nd time I try, the first time, it hangs.until I hit ^G Emacs : GNU Emacs 22.0.91.1 (i386-mingw-nt5.1.2600) of 2006-12-03 on W2ONE Package: tramp (2.1.8-pre) current state: == (setq tramp-current-method plink tramp-current-user red tramp-current-host kzsu...du tramp-auto-save-directory nil tramp-default-method plink tramp-default-method-alist '(( \\`\\(anonymous\\|ftp\\)\\' ftp) (\\`ftp\\. ftp) (\\`localhost\\' \\`root\\' su)) tramp-default-host INKY0 tramp-default-proxies-alist nil tramp-default-user nil tramp-default-user-alist '((\\`su\\(do\\)?\\' nil root) (\\`r\\(em\\)?\\(cp\\|sh\\)\\|telnet\\' nil Administrator) ) tramp-rsh-end-of-line \n tramp-default-password-end-of-line \n tramp-remote-path '(tramp-default-remote-path /usr/sbin /usr/local/bin /local/bin /local/freeware/bin /local/gnu/bin /usr/freeware/bin /usr/pkg/bin /usr/contrib/bin) tramp-login-prompt-regexp .*ogin\\( .*\\)?: * tramp-password-prompt-regexp (base64-decode-string \Xi4qXChbcFBdYXNzd29yZFx8W3BQXWFzc3BocmFzZVwpLio6AD8gKg==\ tramp-wrong-passwd-regexp ^.*\\(Connection \\(?:closed by foreign host\\.\\|refused\\)\\|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\\.\\|Tramp connection closed\\).*\\|^.*\\(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_.-]+\\(#[0-9]+\\)?\\)?:\\(.*$\\) 2 4 5 7) tramp-file-name-regexp \\`/[^/:]+: tramp-methods '((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))) (tramp-copy-keep-date t) (tramp-password-end-of-line nil)) (scp (tramp-login-program ssh) (tramp-login-args ((%h) (-l %u) (-p %p) (-o [EMAIL PROTECTED]:%%p) (-o ControlMaster=yes) (-e none)) ) (tramp-remote-sh /bin/sh) (tramp-copy-program scp) (tramp-copy-args ((-P %p) (-p %k) (-q) (-o [EMAIL PROTECTED]:%%p) (-o ControlMaster=auto)) ) (tramp-copy-keep-date t) (tramp-password-end-of-line nil)) (scp1 (tramp-login-program ssh) (tramp-login-args ((%h) (-l %u) (-p %p) (-o [EMAIL PROTECTED]:%%p) (-o ControlMaster=yes) (-1 -e none)) ) (tramp-remote-sh /bin/sh) (tramp-copy-program scp) (tramp-copy-args ((-1) (-P %p) (-p %k) (-q) (-o [EMAIL PROTECTED]:%%p) (-o ControlMaster=auto)) ) (tramp-copy-keep-date t) (tramp-password-end-of-line nil)) (scp2 (tramp-login-program ssh) (tramp-login-args ((%h) (-l %u) (-p %p) (-o [EMAIL PROTECTED]:%%p) (-o ControlMaster=yes) (-2 -e none)) ) (tramp-remote-sh /bin/sh) (tramp-copy-program scp) (tramp-copy-args ((-2) (-P %p) (-p %k) (-q) (-o [EMAIL PROTECTED]:%%p) (-o ControlMaster=auto)) ) (tramp-copy-keep-date t) (tramp-password-end-of-line nil)) (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))) (tramp-copy-keep-date 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))) (tramp-copy-keep-date 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/plink works with one host, but not another
Hello all, I'm running tramp 2.1.7 with GNU Emacs 22.0.91.1 (i386-mingw-nt5.1.2600) of 2006-12-03 on W2ONE (that's NT emacs, on Windows XP) - using the plink method. With one server, I can read directories, read files, write files, all the good stuff. Excellent! Another server, it connects, asks me for password, correctly rejects incorrect passwords, but when I enter the correct password, it hangs until I hit ^G at the message Tramp: Found remote shell prompt on `.x-x-x.org' Full trace from the session is long so I pasted it here: http://www.anope.org/paste2.php?id=ad0d3a6a side note- my password was in the trace output! I had to manually elide the line that says 'tramp-read-passwd: --' Connecting manually, it looks like the setups for the two servers are the same, I don't see anything obvious (see end of message). Can anyone help me figure this out? thanks -y === working server C:\Temp\trampplink -v [EMAIL PROTECTED] Server version: SSH-2.0-OpenSSH_3.4 NetBSD_Secure_Shell-20030917 We claim version: SSH-2.0-PuTTY_Release_0.58 Using SSH protocol version 2 Doing Diffie-Hellman group exchange Doing Diffie-Hellman key exchange Host key fingerprint is: ssh-rsa 1024 79:4e:7f:20:37:d6:ed:af:e7:05:84:b1:f6:18:b6:33 Initialised AES-256 client-server encryption Initialised HMAC-SHA1 client-server MAC algorithm Initialised AES-256 server-client encryption Initialised HMAC-SHA1 server-client MAC algorithm Using username yary. Keyboard-interactive authentication refused [EMAIL PROTECTED]'s password: Sent password Access granted Opened channel for session Allocated pty (ospeed 38400bps, ispeed 38400bps) Started a shell/command Last login: Wed Dec 6 16:18:34 2006 from . NetBSD 1.6.2_STABLE (BELL) #0: Thu May 25 20:38:56 PDT 2006 Welcome to NetBSD! You have maling list msgs: s-xxxdy spam working$ exit logout === hanging server C:\Temp\trampplink -v [EMAIL PROTECTED] Server version: SSH-1.99-OpenSSH_4.3 We claim version: SSH-2.0-PuTTY_Release_0.58 Using SSH protocol version 2 Doing Diffie-Hellman group exchange Doing Diffie-Hellman key exchange Host key fingerprint is: ssh-rsa 1024 69:63:b0:1e:3d:76:18:e3:42:77:58:60:83:b9:42:46 Initialised AES-256 client-server encryption Initialised HMAC-SHA1 client-server MAC algorithm Initialised AES-256 server-client encryption Initialised HMAC-SHA1 server-client MAC algorithm Using username yary. Keyboard-interactive authentication refused [EMAIL PROTECTED]'s password: Sent password Access granted Opened channel for session Allocated pty (ospeed 38400bps, ispeed 38400bps) Started a shell/command Last login: Wed Dec 6 16:51:16 2006 from ... OpenBSD 3.9 (GENERIC) #617: Thu Mar 2 02:26:48 MST 2006 Welcome to OpenBSD: The proactively secure Unix-like operating system. $ exit logout Server sent command exit status 0 All channels closed. Disconnecting Server closed network connection C:\Temp\tramp ___ Tramp-devel mailing list Tramp-devel@gnu.org http://lists.gnu.org/mailman/listinfo/tramp-devel