From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bob Proulx Newsgroups: gmane.emacs.help Subject: Re: run ssh in emacs Date: Tue, 13 Jan 2015 21:26:20 -0700 Message-ID: <20150113210821173019410@bob.proulx.com> References: <87vbkbre16.fsf@bach.histomat.net> <87twzvbxb4.fsf@gmail.com> <20150113123829.GA3285@historicalmaterialism.info> <87egqy3g9k.fsf@gmail.com> <20150113151644.GB3285@historicalmaterialism.info> <87a91m3dst.fsf@gmail.com> <20150113181114.GA13081@historicalmaterialism.info> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1421209604 27330 80.91.229.3 (14 Jan 2015 04:26:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 Jan 2015 04:26:44 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Haines Brown Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 14 05:26:38 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 1YBFXR-000705-Hw for geh-help-gnu-emacs@m.gmane.org; Wed, 14 Jan 2015 05:26:37 +0100 Original-Received: from localhost ([::1]:42629 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YBFXQ-0004Yb-LA for geh-help-gnu-emacs@m.gmane.org; Tue, 13 Jan 2015 23:26:36 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55029) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YBFXE-0004YT-V5 for help-gnu-emacs@gnu.org; Tue, 13 Jan 2015 23:26:26 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YBFXB-0004Ih-QW for help-gnu-emacs@gnu.org; Tue, 13 Jan 2015 23:26:24 -0500 Original-Received: from joseki.proulx.com ([216.17.153.58]:54316) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YBFXB-0004Ib-JK for help-gnu-emacs@gnu.org; Tue, 13 Jan 2015 23:26:21 -0500 Original-Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id 7728A2186F; Tue, 13 Jan 2015 21:26:20 -0700 (MST) Original-Received: by hysteria.proulx.com (Postfix, from userid 1000) id 303232DC42; Tue, 13 Jan 2015 21:26:20 -0700 (MST) Mail-Followup-To: Haines Brown , "Tory S. Anderson" , help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: <20150113181114.GA13081@historicalmaterialism.info> User-Agent: Mutt/1.5.23 (2014-03-12) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 216.17.153.58 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:102062 Archived-At: Haines Brown wrote: > That was my problem. Years ago I used ftp to transfer files, and so > used ~/.netrc. I followed your suggestion and instead use ~/.authinfo, > and how I have no problem accessing hosts on my LAN. I recommend using ssh rsa keys. Works great generically with ssh and isn't tramp specific. The tramp manual also recommends using the native transport mechanisms. > When I try to access web servers via ssh, however, it does not work. > For example, in .authinfo I have this: > > machine uss-irex.info:/www > login > password That "uss-irex.info:/www" looks like a syntax error to me. Remove the ":/www" from it and try it again. Bob