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: Bob Proulx
Subject: Re: run ssh in emacs
Date: Tue, 13 Jan 2015 21:26:20 -0700
User-agent: Mutt/1.5.23 (2014-03-12)

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 <user>
>         password <password>

That "uss-irex.info:/www" looks like a syntax error to me.  Remove the
":/www" from it and try it again.

Bob



reply via email to

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