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

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

Re: How to use sftp instead of ftp in ange-ftp


From: Phillip Lord
Subject: Re: How to use sftp instead of ftp in ange-ftp
Date: 29 Oct 2002 15:23:06 +0000
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.91

>>>>> "ken" == ken  <ken@cleveland.lug.net> 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


reply via email to

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