* Re: tramp, sftp
[not found] <87r5n9suar.fsf@boreebo.bornier.net>
@ 2010-03-25 23:08 ` Andreas Politz
0 siblings, 0 replies; only message in thread
From: Andreas Politz @ 2010-03-25 23:08 UTC (permalink / raw)
To: help-gnu-emacs
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-03-25 23:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <87r5n9suar.fsf@boreebo.bornier.net>
2010-03-25 23:08 ` tramp, sftp Andreas Politz
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.