From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Robert J. Chassell" Newsgroups: gmane.emacs.devel Subject: how to find out methods for tramp? Date: Mon, 17 Jun 2002 16:42:45 +0000 (UTC) Sender: emacs-devel-admin@gnu.org Message-ID: Reply-To: bob@rattlesnake.com NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1024332321 20111 127.0.0.1 (17 Jun 2002 16:45:21 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 17 Jun 2002 16:45:21 +0000 (UTC) Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17Jzd3-0005EG-00 for ; Mon, 17 Jun 2002 18:45:21 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17K03M-0005yU-00 for ; Mon, 17 Jun 2002 19:12:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17Jzcs-0002tm-00; Mon, 17 Jun 2002 12:45:10 -0400 Original-Received: from megalith.rattlesnake.com ([140.186.114.245] helo=localhost) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17JzaY-0001sU-00 for ; Mon, 17 Jun 2002 12:42:47 -0400 Original-Received: by rattlesnake.com via sendmail from stdin id (Debian Smail3.2.0.114) Mon, 17 Jun 2002 16:42:45 +0000 (UTC) Original-To: emacs-devel@gnu.org Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:4934 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:4934 Kai just added `tramp' to the latest GNU Emacs CVS. How do I find out which methods to use for tramp connections? Using today's CVS snapshot of Mon, 2002 Jun 17 15:19 UTC, GNU Emacs 21.3.50.42 (i686-pc-linux-gnu, X toolkit), started with: emacs -q --no-site-file --eval '(blink-cursor-mode 0)' and (require 'tramp) I can successfully use tramp to connect remotely to fencepost.gnu.org with (setq tramp-default-method "smx") which is `ssh' with `mimencode' But I failed to connect to two other machines, to both of which I can connect using ssh: My ISP, a Sun box, called `titan'" SunOS 5.6 Generic_105181-08 sun4u sparc has uuencode but not mimencode I tried smx, sm, su, and tu and failed with tramp. With (setq tramp-default-method "su") for example, I was shown a login and the process was immediately killed: ~ $ Process *tramp/su titan.berkshire.net* killed I can connect to titan from an xterm using `ssh' My sister's box, an i586 GNU/Linux, kernel 2.4.18 has mimencode running OpenSSH_3.0.2p1 Debian 1:3.0.2p1-9, SSH protocols 1.5/2.0, OpenSSL 0x0090603f and permits remote connections using only protocol 2 I tried smx and sm and failed with tramp. I can connect to this box from an xterm using `ssh -2' Here are the results for tramp: With: (setq tramp-default-method "smx") (setq tramp-su-args nil) Protocol major versions differ: 1 vs. 2 Process *tramp/smx 24.161.120.95* exited abnormally with code 255 With: (setq tramp-default-method "smx") (setq tramp-su-args -2) tramp-open-connection-rsh: Couldn't find remote shell or passwd prompt With: (setq tramp-default-method "sm") (setq tramp-su-args -2) tramp-open-connection-rsh: Couldn't find remote shell or passwd prompt Thank you. -- Robert J. Chassell bob@rattlesnake.com Rattlesnake Enterprises http://www.rattlesnake.com