From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Espen Newsgroups: gmane.emacs.help Subject: Re: run ssh in emacs Date: Sun, 18 Jan 2015 21:15:04 -0500 Organization: A noiseless patient Spider Message-ID: References: <20150113151644.GB3285@historicalmaterialism.info> <87h9vsqab6.fsf@bach.histomat.net> <87d26frdrl.fsf@bach.histomat.net> <874mrq4pal.fsf@bach.histomat.net> <87wq4m30oi.fsf@bach.histomat.net> <87vbk61k7p.fsf@gmx.de> <20150117121758.GA14517@historicalmaterialism.info> <87sif92mfm.fsf@bach.histomat.net> <87oapw2rxq.fsf@bach.histomat.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1421633721 4089 80.91.229.3 (19 Jan 2015 02:15:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Jan 2015 02:15:21 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jan 19 03:15:21 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 1YD1s7-0002fC-Pl for geh-help-gnu-emacs@m.gmane.org; Mon, 19 Jan 2015 03:15:19 +0100 Original-Received: from localhost ([::1]:35254 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YD1s6-0004a6-NK for geh-help-gnu-emacs@m.gmane.org; Sun, 18 Jan 2015 21:15:18 -0500 Original-Path: usenet.stanford.edu!goblin1!goblin.stu.neva.ru!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 39 Injection-Info: mx02.eternal-september.org; posting-host="57884428ec4dc107e9b648055b77301a"; logging-data="8460"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19q2kXxjTumQh/J2xL9RCyebdM66I0fALA=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:C8QI5rUfrUcNCzTXyQhJcwapLPo= Original-Xref: usenet.stanford.edu gnu.emacs.help:209868 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:102147 Archived-At: Haines Brown writes: > Dan Espen writes: > >> Haines Brown 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