tramp-devel
[Top][All Lists]
Advanced

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

How to get tramp to use scp?


From: Sheldon White
Subject: How to get tramp to use scp?
Date: Mon, 11 Sep 2006 14:06:25 -0700
User-agent: KMail/1.9.1

Hello!
I'm trying to configure tramp to use ssh/scp to access remote files, but it 
always tries to use ftp (which fails on the servers I need to access).

Tramp-version: 2.0.36
XEmacs version: 21.4.15

Local and remote servers are all upto date SuSE linux boxes, I can freely ssh 
back and forth between these servers without a password prompt.

In my .emacs file:
(require 'tramp)
(setq tramp-default-method "scp1")
(setq tramp-debug-buffer t)
(setq tramp-verbose 10)
(setq debug-on-error t   debug-on-signal t)

The backtrace when I try accessing a file:
Signaling: (ftp-error "FTP Error: OPEN request failed: ftp: connect: Connection 
refused")
  signal(ftp-error ("FTP Error: OPEN request failed: ftp: connect: Connection 
refused"))
  efs-error("cmsrcm1" "anonymous" "OPEN request failed: ftp: connect: 
Connection refused")
  efs-login("cmsrcm1" "anonymous" #<process "*ftp address@hidden" pid 4753 
state:signal>)
  efs-get-process("cmsrcm1" "anonymous")
  efs-host-type("cmsrcm1" "anonymous")
  efs-expand-file-name("/cmsrcm1:~/.bash_profile" nil)
  apply(efs-expand-file-name ("/cmsrcm1:~/.bash_profile" nil))
  efs-file-handler-function(expand-file-name "/cmsrcm1:~/.bash_profile" nil)
  expand-file-name("/cmsrcm1:~/.bash_profile")
  find-file-noselect("/cmsrcm1:~/.bash_profile")
  find-file("/cmsrcm1:~/.bash_profile" nil)

Any ideas? I'd love to use this package; it's just what I need. But searching 
the documentation and the web hasn't provided a solution yet.

Thanks in advance.

-- 
-sheldon white-  :^/

address@hidden

I went to a restaurant that serves "breakfast at any time". So I ordered
French Toast during the Renaissance.
  --Stephen Wright --




reply via email to

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