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: Sat, 17 Jan 2015 07:17:58 -0500 Message-ID: <20150117121758.GA14517@historicalmaterialism.info> References: <20150113151644.GB3285@historicalmaterialism.info> <87h9vsqab6.fsf@bach.histomat.net> <87d26frdrl.fsf@bach.histomat.net> <874mrq4pal.fsf@bach.histomat.net> <87wq4m30oi.fsf@bach.histomat.net> <87vbk61k7p.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1421497110 28890 80.91.229.3 (17 Jan 2015 12:18:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 17 Jan 2015 12:18:30 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Michael Albinus Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jan 17 13:18:29 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 1YCSKj-0001yf-Cs for geh-help-gnu-emacs@m.gmane.org; Sat, 17 Jan 2015 13:18:29 +0100 Original-Received: from localhost ([::1]:58974 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YCSKi-0002n6-J3 for geh-help-gnu-emacs@m.gmane.org; Sat, 17 Jan 2015 07:18:28 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46351) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YCSKV-0002lA-21 for help-gnu-emacs@gnu.org; Sat, 17 Jan 2015 07:18:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YCSKR-0001Vn-Ov for help-gnu-emacs@gnu.org; Sat, 17 Jan 2015 07:18:14 -0500 Original-Received: from outbound-relay3.guardedhost.com ([216.239.133.203]:26512) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YCSKR-0001Dn-KS for help-gnu-emacs@gnu.org; Sat, 17 Jan 2015 07:18:11 -0500 Original-Received: from relay.omnis.com (mx04.guardedhost.com [IPv6:2607:fe90:1:1::55:7]) by outbound-relay.guardedhost.com (Postfix) with ESMTP id 3kPdZM6Q0cz3xvc; Sat, 17 Jan 2015 12:18:03 +0000 (GMT) Original-Received: from bach.histomat.net (unknown [32.210.114.254]) (Authenticated sender: brownh@historicalmaterialism.info) by relay.omnis.com (Postfix) with ESMTPSA id 3kPdZL3NwXzFqJ2; Sat, 17 Jan 2015 12:18:02 +0000 (GMT) Original-Received: from haines by bach.histomat.net with local (Exim 4.80) (envelope-from ) id 1YCSKE-0001QU-HU; Sat, 17 Jan 2015 07:18:01 -0500 Content-Disposition: inline In-Reply-To: <87vbk61k7p.fsf@gmx.de> X-Operating-System: GNU/Linux 3.2.0-4-686-pae Debian Wheezy X-URL: www.historicalMaterialism.info User-Agent: Mutt/1.5.21 (2010-09-15) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: haines@historicalmaterialism.info X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:57:07 +0000) X-SA-Exim-Scanned: Yes (on bach.histomat.net) X-Virus-Scanned: clamav-milter 0.98.4 at ten-mx04.omnis.com X-Virus-Status: Clean X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse-Id: 18e3b3fc-d757-4ded-a716-3996cdecd289 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 216.239.133.203 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:102128 Archived-At: On Fri, Jan 16, 2015 at 10:36:42PM +0100, Michael Albinus wrote: > Haines Brown writes: > > The messages buffer tells me: > > > > Waiting for prompts from remote shell > > ssh: connect to host ftp port 22: No route to host. > > That shouldn't happen! Could you, please, start a new Emacs stanza with > "emacs -Q" and try then immediately > > C-x C-f /ftp:issir03@uss-irex.info: That "issir03" was just a typo, for I made up a bogus account name and password as I went along. I now start a $ emacs -Q session and: C-x C-f /ftp:Benutzer@uss-irex.info: There is a brief flashed message: ~/.netrc either not owned by you or badly protected. I suppose this is normal because ~/.netrc is by nature not protected at all. I check /etc/group and see I'm a member of the ssh group, but not the daemon or ssl-cert groups. Then comes a password prompt I suppose because the password from .netrc was not sent to the web server: Password for Benutzer@uss-irex.info: There is nothing in *Messages" buffer. I remake the stanza in ~/.netrc in both column and in line format by pasting the account name and password directly from the webserver interface. Here is its format: machine uss-irex.info login Benutzer password Geheim If at the Password prompt I copy/paste the password from this stanza, login is successful. I try all the above on another machine and had same results. With a $ emacs -Q session I try: M-x customize-variable RET Customize variable: auth-source-debug [No match] Haines