unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* tramp default method
@ 2004-10-19 20:25 John Hunter
  2004-11-05 22:32 ` Kai Grossjohann
  0 siblings, 1 reply; 4+ 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] 4+ messages in thread

* Re: tramp default method
  2004-10-19 20:25 John Hunter
@ 2004-11-05 22:32 ` Kai Grossjohann
  0 siblings, 0 replies; 4+ messages in thread
From: Kai Grossjohann @ 2004-11-05 22:32 UTC (permalink / raw)


John Hunter <jdhunter@ace.bsd.uchicago.edu> writes:

> 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 $

I think this is the last version on SourceForge, but Tramp has now
moved to Savannah.

http://savannah.gnu.org/projects/tramp

Kai

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

* tramp default method
@ 2006-05-25 19:38 VR
       [not found] ` <nqac94lwh9.fsf@alcatel.de>
  0 siblings, 1 reply; 4+ 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] 4+ messages in thread

* Re: tramp default method
       [not found] ` <nqac94lwh9.fsf@alcatel.de>
@ 2006-05-26 18:59   ` VR
  0 siblings, 0 replies; 4+ messages in thread
From: VR @ 2006-05-26 18:59 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")


>Tramp's default method is "ssh" (or "plink" under MS Windows); so it
>is mysterious if it always takes "ftp". Are you sure Tramp is loaded?
>What is the output of "C-h v file-name-handler-alist" or "C-h v
>tramp-version"?

Yeah, so I thought. C-h v file-name-handler-alist gives:
`file-name-handler-alist' is a simple built-in variable.

Value: (("\\`/\\[.*\\]" . tramp-file-name-handler) ("^/[^/:]+:" .
remote-path-file-handler-function))


I can't seem to have the variable tramp-version in. I assume Tramp is
loaded, I get all sorts of tramp variables, but not everything, like
the one you just mentioned. Confused...

Thanks,
VR

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

end of thread, other threads:[~2006-05-26 18:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-25 19:38 tramp default method VR
     [not found] ` <nqac94lwh9.fsf@alcatel.de>
2006-05-26 18:59   ` VR
  -- strict thread matches above, loose matches on Subject: below --
2004-10-19 20:25 John Hunter
2004-11-05 22:32 ` Kai Grossjohann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).