From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Phillip Lord Newsgroups: gmane.emacs.help Subject: Re: How to use sftp instead of ftp in ange-ftp Date: 29 Oct 2002 15:23:06 +0000 Organization: BIOSCI/MRC Human Genome Mapping Project Resource Centre Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035905168 15275 80.91.224.249 (29 Oct 2002 15:26:08 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 29 Oct 2002 15:26:08 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 186YFq-0003y5-00 for ; Tue, 29 Oct 2002 16:26:06 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 186YGC-00048v-00; Tue, 29 Oct 2002 10:26:28 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!fu-berlin.de!server1.netnews.ja.net!hgmp.mrc.ac.uk!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 31 Original-NNTP-Posting-Host: bromine.hgmp.mrc.ac.uk Original-X-Trace: niobium.hgmp.mrc.ac.uk 1035904987 27905 193.62.192.35 (29 Oct 2002 15:23:07 GMT) Original-X-Complaints-To: news@net.bio.net Original-NNTP-Posting-Date: Tue, 29 Oct 2002 15:23:07 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.91 Original-Xref: shelby.stanford.edu gnu.emacs.help:106500 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:3050 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:3050 >>>>> "ken" == ken writes: ken> For a long time I've been using ange-ftp. But more and more ken> servers are using the more secure ssh package; this means ken> clients have to use sftp rather than ftp for transferring ken> files. This means ange-ftp no longer works. ken> I tried (some time ago) going into Customize and simply ken> changing the variables ken> (custom-set-variables ken> '(ftp-prompt-regexp "^sftp>") '(ftp-program "sftp")) ken> but the sftp command set is quite different, so I really ken> shouldn't have expected the session to function ken> correctly... and it didn't. ken> I'm sure that someone else has already done the conversion of ken> ange-ftp to use sftp. How/Where can I get it? ken> I'm using 20.7.1. I don't know about sftp, but have you tried tramp? This allows ange-ftp like transfer of files over a whole host of different protocols, including "su" (so you can edit files as root, without running a root emacs), and also "ssh". It probably works with sftp as well, but I can't say for sure. Cheers Phil