[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tramp, sftp
From: |
Andreas Politz |
Subject: |
Re: tramp, sftp |
Date: |
Tue, 04 May 2010 15:43:28 -0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
Jean Magnan de Bornier <jean@bornier.net> writes:
> Hi all,
>
> 14:26 jean@boreebo /home/jean % uname -a Linux boreebo
> 2.6.31-20-generic #58-Ubuntu SMP Fri Mar 12 05:23:09 UTC 2010 i686
> GNU/Linux +emacs 23
>
> I have to use sftp to upload files on a server, and I used do that
> within muse, when the protocol was plain ftp; so emacs is required. I
> have configured things with public keys so that if I write in a shell
> : "sftp mysite.fr" I get the sftp prompt immediately.
>
> In my .emacs I added this:
>
> (tramp-set-completion-function "ssh"
> '((tramp-parse-sconfig "~/.ssh/config")))
>
> But if I try to access this site with tramp (or muse), I get this at
> the top of the debugging message:
>
> Debugger entered--Lisp error: (file-error "Process died")
> signal(file-error ("Process died")) tramp-error(["sftp" "bornier"
> "junon.univ-cezanne.fr" "~/"] file-error
> "Process died")
> apply(tramp-error ["sftp" "bornier" "junon.univ-cezanne.fr" "~/"]
> file-error
> "Process died" nil)
>
> This server is configured so that users don't have a shell; and if I
> try "ssh mysite.fr" at the command line the connexion is
> impossible. Maybe this is what causes things to fail with tramp-sftp?
>
> Any solution welcome, tia,
I think tramp uses ange-ftp and there is a TODO for your problem :
** ange-ftp
*** understand sftp
This is hard to make work because sftp doesn't print status
messages.
-ap
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: tramp, sftp,
Andreas Politz <=