[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: run ssh in emacs
From: |
Tory S. Anderson |
Subject: |
Re: run ssh in emacs |
Date: |
Tue, 13 Jan 2015 10:23:14 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
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 <haines@histomat.net> 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 <password>
>
> It seems the ~.netrc file not being read.
>
> Haines
- run ssh in emacs, Haines Brown, 2015/01/12
- Re: run ssh in emacs, Tory S. Anderson, 2015/01/12
- Re: run ssh in emacs, Tory S. Anderson, 2015/01/13
- Re: run ssh in emacs, Haines Brown, 2015/01/13
- Re: run ssh in emacs,
Tory S. Anderson <=
- Re: run ssh in emacs, Haines Brown, 2015/01/13
- Re: run ssh in emacs, Bob Proulx, 2015/01/13
- Message not available
- Re: run ssh in emacs, Haines Brown, 2015/01/15
- Re: run ssh in emacs, Ted Zlatanov, 2015/01/15
- Re: run ssh in emacs, Haines Brown, 2015/01/15
- Re: run ssh in emacs, Ted Zlatanov, 2015/01/15
- Re: run ssh in emacs, Haines Brown, 2015/01/16
- Re: run ssh in emacs, Michael Albinus, 2015/01/16
- Message not available
- Re: run ssh in emacs, Haines Brown, 2015/01/16
- Re: run ssh in emacs, Dan Espen, 2015/01/16