tramp-devel
[Top][All Lists]
Advanced

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

Re: How to get tramp to use scp?


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

Thanks very much! If I set:  (setq tramp-default-method "ssh")
and access:  /[cmsrcm1]~/.bash_profile
everything works.

On Monday 11 September 2006 14:37, Kai Grossjohann wrote:
> I haven't followed things for a long time, but I believe that on XEmacs
> the Tramp filename syntax is different.
> 
> Try C-x C-f /[ssh/cmsrcm1]~/.bash_profile RET
> Or C-x C-f /[scp/cmsrcm1]~/.bash_profile RET
> 
> Kai
> 
> Sheldon White wrote:
> > 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

Those who do not understand UNIX are condemned to reinvent it -- badly.
  --Henry Spencer--




reply via email to

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