From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Haines Brown Newsgroups: gmane.emacs.help Subject: Re: run ssh in emacs Date: Fri, 16 Jan 2015 15:55:41 -0500 Message-ID: <87wq4m30oi.fsf@bach.histomat.net> References: <87vbkbre16.fsf@bach.histomat.net> <87twzvbxb4.fsf@gmail.com> <20150113123829.GA3285@historicalmaterialism.info> <87egqy3g9k.fsf@gmail.com> <20150113151644.GB3285@historicalmaterialism.info> <87h9vsqab6.fsf@bach.histomat.net> <87d26frdrl.fsf@bach.histomat.net> <874mrq4pal.fsf@bach.histomat.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1421442023 403 80.91.229.3 (16 Jan 2015 21:00:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 16 Jan 2015 21:00:23 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jan 16 22:00:23 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YCE0C-0005Dg-4K for geh-help-gnu-emacs@m.gmane.org; Fri, 16 Jan 2015 22:00:20 +0100 Original-Received: from localhost ([::1]:57416 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YCE0B-0003WG-GU for geh-help-gnu-emacs@m.gmane.org; Fri, 16 Jan 2015 16:00:19 -0500 Original-Path: usenet.stanford.edu!news.glorb.com!Xl.tags.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!buffer1.nntp.dca1.giganews.com!local2.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail Original-NNTP-Posting-Date: Fri, 16 Jan 2015 14:55:42 -0600 Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:YdgszXqoj/CGTt1mDggjkV8IOaE= Original-Lines: 50 X-Usenet-Provider: http://www.giganews.com Original-X-Trace: sv3-glUB4kCTOppBb+6pcB7nl23ypEGJMLpWclsQruaIJJdmDydMnKH9yQj50pn+sniQk19+CfwMKKxKzvD!2+PpCerH1Rw4PLgCb+P31DCBO2ldjCwH3jnafNM9SHMIrR2F8Ivz4evRVuo= Original-X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 3295 Original-Xref: usenet.stanford.edu gnu.emacs.help:209840 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:102119 Archived-At: Michael Albinus writes: > The ftp method is not handled by Tramp; Tramp redirects all work to > ange-ftp.el. And that package does not use auth-ources, it simply relies > on ~/.netrc. Michael, sorry to be so slow on the uptake. For my Emacs 24, ELPA tells me that ange-ftp is built in, and so I would not expect to see any ange-ftp.el file. I gather that if I use a tramp command to transfer a file by ftp, it is authomatically done with ange-ftp. I presume that since I want to use ftp, I need to define the login in the .netrc. I have this line there: machine uss-irex.info login ussir03 password "Geheim" I open an emacs session amd issue this command: C-x C-f /ftp:issir03@uss-irex.info: The messages buffer tells me: Waiting for prompts from remote shell ssh: connect to host ftp port 22: No route to host. Can on infer from this that ange-ftp is attempting to log in to the remote FTP server? But I thought port 22 was SSH? Does "No route" mean that there is either no such server or account? Is it possible the hosting service introduced some kind of sercurity measure of which I am unaware (if there's nothing wrong with what I'm doing at this end, I'll have to pursue this with them)? In *messages* buffer: Tramp: Waiting for prompts from remote shell Tramp: Sending command `exec ssh -e none ftp' Tramp: Opening connection for ftp using ssh...done Tramp: Opening connection for ftp using ssh... Tramp: Sending command `exec ssh -e none ftp' Tramp: Waiting for prompts from remote shell Tramp: Sending command `exec ssh -e none ftp' Tramp: Opening connection for ftp using ssh...done byte-code: Process died I don't know how to interpret this. It seems ange-ftp wants to execute ssh session but fails. Haines