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: Dan Espen
Subject: Re: run ssh in emacs
Date: Sun, 18 Jan 2015 21:15:04 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Haines Brown <haines@histomat.net> writes:

> Dan Espen <despen@verizon.net> writes:
>
>> Haines Brown <haines@histomat.net> writes:
>>>
>>> I need to do some kind of debug or trace on the command to see just what
>>> is going on, but don't know how to do it.
>>
>> No you don't.
>> You already have the problem staring you in the face.
>>
>> .netrc must have permissions:
>>
>> -r--------
>>
>> It won't work any other way.
>
> Dan, that was the answer! Now I understand the reason for the
> permissions warning message. One would think man netrc would mention
> this restriction. 

>From "man netrc":

  ftp will  abort the auto-login  process if  the .netrc is  readable by
  anyone besides the user.

> A primitive -r-------- strikes me as a nuisance because I would have to
> go through chmod just to modify the file, but I find that ange-ftp
> also works with -rw-------.

Open the file with Emacs.
Just find the file as normal.
To change from read-only type ^x^q.
Make your changes.
Emacs will ask if it's okay when you save the file.

-- 
Dan Espen


reply via email to

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