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: Tue, 13 Jan 2015 10:16:44 -0500 Message-ID: <20150113151644.GB3285@historicalmaterialism.info> References: <87vbkbre16.fsf@bach.histomat.net> <87twzvbxb4.fsf@gmail.com> <20150113123829.GA3285@historicalmaterialism.info> <87egqy3g9k.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1421162234 32201 80.91.229.3 (13 Jan 2015 15:17:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 13 Jan 2015 15:17:14 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "Tory S. Anderson" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 13 16:17:08 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 1YB3DO-00052m-FO for geh-help-gnu-emacs@m.gmane.org; Tue, 13 Jan 2015 16:17:06 +0100 Original-Received: from localhost ([::1]:39797 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YB3DN-0006M5-Lq for geh-help-gnu-emacs@m.gmane.org; Tue, 13 Jan 2015 10:17:05 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41902) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YB3DB-0006Lz-KQ for help-gnu-emacs@gnu.org; Tue, 13 Jan 2015 10:16:54 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YB3D7-0007s3-CZ for help-gnu-emacs@gnu.org; Tue, 13 Jan 2015 10:16:53 -0500 Original-Received: from outbound-relay3.guardedhost.com ([216.239.133.203]:36106) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YB3D7-0007rr-78 for help-gnu-emacs@gnu.org; Tue, 13 Jan 2015 10:16:49 -0500 Original-Received: from relay.omnis.com (mx02.guardedhost.com [IPv6:2607:fe90:1:1::53:7]) by outbound-relay.guardedhost.com (Postfix) with ESMTP id 3kMFkR2cNgz3y0l; Tue, 13 Jan 2015 15:16:47 +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 3kMFkP6wM2zym2; Tue, 13 Jan 2015 15:16:45 +0000 (GMT) Original-Received: from haines by bach.histomat.net with local (Exim 4.80) (envelope-from ) id 1YB3D2-0003CU-5n; Tue, 13 Jan 2015 10:16:44 -0500 Content-Disposition: inline In-Reply-To: <87egqy3g9k.fsf@gmail.com> 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-mx02.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: 7b5dae50-496a-41fc-9298-87b21106b7a1 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:102048 Archived-At: On Tue, Jan 13, 2015 at 09:29:59AM -0500, Tory S. Anderson wrote: > I forgot to mention, I also found this handy (although I might be able > to forego it with the authinfo trick): > > ;Cache passwords for one hour > (setq password-cache-expiry 3600) I've made some progress, but still can't access the password in the ~/.netrc file. More specifically, in emacs I do C-x C-f /user@anon: and get: Password for /ssh:user@anon: even though in ~/.netrc I have the stanza: machine user@anon login user password It seems the ~.netrc file not being read. Haines