From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: torys.anderson@gmail.com (Tory S. Anderson) Newsgroups: gmane.emacs.help Subject: Re: run ssh in emacs Date: Tue, 13 Jan 2015 10:23:14 -0500 Message-ID: <87a91m3dst.fsf@gmail.com> References: <87vbkbre16.fsf@bach.histomat.net> <87twzvbxb4.fsf@gmail.com> <20150113123829.GA3285@historicalmaterialism.info> <87egqy3g9k.fsf@gmail.com> <20150113151644.GB3285@historicalmaterialism.info> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1421162648 6458 80.91.229.3 (13 Jan 2015 15:24:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 13 Jan 2015 15:24:08 +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 Tue Jan 13 16:23:56 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 1YB3Js-0007j2-Lj for geh-help-gnu-emacs@m.gmane.org; Tue, 13 Jan 2015 16:23:48 +0100 Original-Received: from localhost ([::1]:39823 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YB3Jr-0000uj-VG for geh-help-gnu-emacs@m.gmane.org; Tue, 13 Jan 2015 10:23:47 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43446) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YB3Jb-0000tk-Lm for help-gnu-emacs@gnu.org; Tue, 13 Jan 2015 10:23:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YB3JY-0002S5-GK for help-gnu-emacs@gnu.org; Tue, 13 Jan 2015 10:23:31 -0500 Original-Received: from mail-yh0-x229.google.com ([2607:f8b0:4002:c01::229]:58110) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YB3JY-0002S1-CE for help-gnu-emacs@gnu.org; Tue, 13 Jan 2015 10:23:28 -0500 Original-Received: by mail-yh0-f41.google.com with SMTP id a41so1736276yho.0 for ; Tue, 13 Jan 2015 07:23:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=rQFTcm2mzO6ycxL93GstVHnrTNJWHiwkbPmUwBBj5hs=; b=jfun/kFR724llPgFpeFQIlPKB8xiDAUOsPNlG4IUg46u2LVoNq7pq8J3fzjdxi4QEF 4CZ75TJ9SlTRZNXCrK/gchxG161h9UXavJjUsALgiwA9Rw0s8oDca61CIqFZ4CyJ166i nt+BONeODmW31NX+MF4FCmIb3FuhTE70KQKF/YDvx51VAWO0Ku6qHYSyM0DUIEbSQliy 4vlaNOEMxTsx4JhE6a22fJYWYU/wMq7nI/JYiBg5mRGfOhl1AdeK0nh7sjOTCT8fdP9Q 7cdh9s2/htvYnQiSmOeKFOINqPTGHhMpReyHuZm2Xw7+GoIULIyOqSveluvYYA2ZNAED Xq/g== X-Received: by 10.236.67.106 with SMTP id i70mr26995290yhd.177.1421162602224; Tue, 13 Jan 2015 07:23:22 -0800 (PST) Original-Received: from localhost.localdomain (lawn-143-215-59-68.lawn.gatech.edu. [143.215.59.68]) by mx.google.com with ESMTPSA id c63sm7671188yho.9.2015.01.13.07.23.20 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Jan 2015 07:23:20 -0800 (PST) In-Reply-To: <20150113151644.GB3285@historicalmaterialism.info> (Haines Brown's message of "Tue, 13 Jan 2015 10:16:44 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4002:c01::229 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:102049 Archived-At: As I recall, Tramp (which you are using with C-x C-f) by default uses .authinfo or .authinfo.gpg, not .netrc. I've started using these and have been impressed (as of 2 hours in) Haines Brown writes: > 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