help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: run ssh in emacs


From: Haines Brown
Subject: Re: run ssh in emacs
Date: Tue, 13 Jan 2015 10:16:44 -0500
User-agent: Mutt/1.5.21 (2010-09-15)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]