all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* tramp default method
@ 2004-10-19 20:25 John Hunter
  2004-11-05 22:32 ` Kai Grossjohann
  0 siblings, 1 reply; 17+ messages in thread
From: John Hunter @ 2004-10-19 20:25 UTC (permalink / raw)



I am using tramp to acceess remote files over ssh/scp.  I have the
following in my .emacs (and nothing else)

    (setq load-path (cons (expand-file-name "~/emacs/lisp/tramp/lisp") load-path))
    (require 'tramp)
    (setq tramp-default-method "scp")

and if I examine the variable tramp-default-method with
describe-variable it is indeed "scp".

If I open a file with C-x C-f /server:somefile I get prompted for a
password (I have passwordless login enabled over ssh) and an get an
ftp failure with the following message in the *ftp user@sever* buffer

    ftp> open server
    ftp: connect: Connection refused

If I give the tramp method explicitly, with 

   C-x C-f /[scp/server]somefile

it works.

Any ideas?  I was under the impression that tramp would be invoked
merely with the C-x C-f /server:file syntax

JDH

GNU Emacs 21.2.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2002-04-29 on mother.paradise.lost
$Id: tramp.el,v 2.95 2002/04/10 17:16:25 kaig Exp $

^ permalink raw reply	[flat|nested] 17+ messages in thread
* tramp default method
@ 2006-05-25 19:38 VR
       [not found] ` <nqac94lwh9.fsf@alcatel.de>
  0 siblings, 1 reply; 17+ messages in thread
From: VR @ 2006-05-25 19:38 UTC (permalink / raw)


I am trying to use tramp for editing a file on a remote machine. It
always tries to go though ftp. I tried changing it to scp adding this
line in my custom.el

(setq tramp-default-method "scp")


but still no luck. 

Any suggestions?

Thanks
VR

^ permalink raw reply	[flat|nested] 17+ messages in thread
* Tramp default method
@ 2006-10-29 13:18 Lars Hansen
  2006-11-05 17:06 ` Michael Albinus
  0 siblings, 1 reply; 17+ messages in thread
From: Lars Hansen @ 2006-10-29 13:18 UTC (permalink / raw)
  Cc: emacs-devel

How come tramp-default-method is ssh and not scp?
In my setup, copying a 8 MB file takes 100 secs with ssh and 1.5 secs
withs scp. And I beleive scp should be installed if ssh is.

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2006-11-06 22:45 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-19 20:25 tramp default method John Hunter
2004-11-05 22:32 ` Kai Grossjohann
  -- strict thread matches above, loose matches on Subject: below --
2006-05-25 19:38 VR
     [not found] ` <nqac94lwh9.fsf@alcatel.de>
2006-05-26 18:59   ` VR
2006-10-29 13:18 Tramp " Lars Hansen
2006-11-05 17:06 ` Michael Albinus
2006-11-05 16:52   ` Andreas Schwab
2006-11-05 19:34     ` Michael Albinus
2006-11-05 20:34       ` Andreas Schwab
2006-11-05 20:53         ` Michael Albinus
2006-11-06  5:01   ` Richard Stallman
2006-11-06 14:52     ` Lars Hansen
2006-11-06 21:00       ` Richard Stallman
2006-11-06 22:45         ` Michael Albinus
2006-11-06 22:33       ` Michael Albinus
2006-11-06 22:31     ` Michael Albinus
2006-11-06 14:47   ` Lars Hansen

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.