tramp-devel
[Top][All Lists]
Advanced

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

rsync over rsh fails to solaris machine.


From: aaditya sood
Subject: rsync over rsh fails to solaris machine.
Date: Sun, 08 Jun 2003 17:14:56 +0530
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

 
hi all

My local box is a debian/testing running gnu emacs cvs. Tramp version is
2.0.33.

When I try to set it up to get files via rsync over rsh from the remote
machine it fails.

>From the command line:

$ rsync --rsync-path=/usr/local/bin/rsync --progress -v 
address@hidden:/home/aasood/foo .

works. but trying to open '//address@hidden:~/foo' fails with the
following in the *Message* buffer:

tramp: Opening connection for address@hidden using nil...
tramp: Waiting for prompts from remote shell
tramp: Waiting 60s for prompt from remote shell
tramp: Permission denied by remote host.
tramp-process-actions: Login failed
tramp: Opening connection for address@hidden using nil...
tramp: Waiting for prompts from remote shell
tramp: Waiting 60s for prompt from remote shell
Quit

On the remote solaris machine:
$ uname -a
SunOS ap401frm 5.6 Generic_105181-33 sun4u sparc

I'm including the relevant tramp specific stuff from .emacs towards the
end of the mail. I'm not sure how useful this would actually be though.

Any help would eb greatly appreciated.

regards
-- 
/A

The road to Hades is easy to travel.
                -- Bion


'(tramp-default-method "rsync") '(tramp-methods (quote (("smb") ("ftp")
                                                        ("rcp" 
(tramp-connection-function tramp-open-connection-rsh)
                                                         (tramp-rsh-program 
"rsh") (tramp-rcp-program "rcp") (tramp-remote-sh
                                                                                
                              "/bin/sh") (tramp-rsh-args nil) (tramp-rcp-args 
nil)
                                                         
(tramp-rcp-keep-date-arg "-p") (tramp-su-program nil) (tramp-su-args
                                                                                
                                nil) (tramp-telnet-program nil) 
(tramp-telnet-args nil)) ("scp"
                                                         
(tramp-connection-function tramp-open-connection-rsh)
                                                         (tramp-rsh-program 
"ssh") (tramp-rcp-program "scp") (tramp-remote-sh
                                                                                
                              "/bin/sh") (tramp-rsh-args ("-e" "none")) 
(tramp-rcp-args nil)
                                                         
(tramp-rcp-keep-date-arg "-p") (tramp-su-program nil) (tramp-su-args
                                                                                
                                nil) (tramp-telnet-program nil) 
(tramp-telnet-args nil)) ("scp1"
                                                         
(tramp-connection-function tramp-open-connection-rsh)
                                                         (tramp-rsh-program 
"ssh") (tramp-rcp-program "scp") (tramp-remote-sh
                                                                                
                              "/bin/sh") (tramp-rsh-args ("-1" "-e" "none")) 
(tramp-rcp-args ("-1"))
                                                         
(tramp-rcp-keep-date-arg "-p") (tramp-su-program nil) (tramp-su-args
                                                                                
                                nil) (tramp-telnet-program nil) 
(tramp-telnet-args nil)) ("scp2"
                                                         
(tramp-connection-function tramp-open-connection-rsh)
                                                         (tramp-rsh-program 
"ssh") (tramp-rcp-program "scp") (tramp-remote-sh
                                                                                
                              "/bin/sh") (tramp-rsh-args ("-2" "-e" "none")) 
(tramp-rcp-args ("-2"))
                                                         
(tramp-rcp-keep-date-arg "-p") (tramp-su-program nil) (tramp-su-args
                                                                                
                                nil) (tramp-telnet-program nil) 
(tramp-telnet-args nil)) ("scp1_old"
                                                         
(tramp-connection-function tramp-open-connection-rsh)
                                                         (tramp-rsh-program 
"ssh1") (tramp-rcp-program "scp1") (tramp-remote-sh
                                                                                
                                "/bin/sh") (tramp-rsh-args ("-e" "none")) 
(tramp-rcp-args nil)
                                                         
(tramp-rcp-keep-date-arg "-p") (tramp-su-program nil) (tramp-su-args
                                                                                
                                nil) (tramp-telnet-program nil) 
(tramp-telnet-args nil)) ("scp2_old"
                                                         
(tramp-connection-function tramp-open-connection-rsh)
                                                         (tramp-rsh-program 
"ssh2") (tramp-rcp-program "scp2") (tramp-remote-sh
                                                                                
                                "/bin/sh") (tramp-rsh-args ("-e" "none")) 
(tramp-rcp-args nil)
                                                         
(tramp-rcp-keep-date-arg "-p") (tramp-su-program nil) (tramp-su-args
                                                                                
                                nil) (tramp-telnet-program nil) 
(tramp-telnet-args nil)) ("rsync"
                                                         
(tramp-connection-function tramp-open-connection-rsh)
                                                         (tramp-rsh-program 
"rsh") (tramp-rcp-program "rsync") (tramp-remote-sh
                                                                                
                                "/bin/sh") (tramp-rsh-args ("none")) 
(tramp-rcp-args
                                                                                
                                ("--rsync-path=/usr/local/bin/rsync")) 
(tramp-rcp-keep-date-arg "-t")
                                                         (tramp-su-program nil) 
(tramp-su-args nil) (tramp-telnet-program nil)
                                                         (tramp-telnet-args 
nil)) ("rsh" (tramp-connection-function
                                                                                
          tramp-open-connection-rsh) (tramp-rsh-program "rsh") 
(tramp-rcp-program
                                                                                
          nil) (tramp-remote-sh "/bin/sh") (tramp-rsh-args nil) (tramp-rcp-args
                                                                                
          nil) (tramp-rcp-keep-date-arg nil) (tramp-su-program nil)
                                                         (tramp-su-args nil) 
(tramp-telnet-program nil) (tramp-telnet-args nil))
                                                        ("ssh" 
(tramp-connection-function tramp-open-connection-rsh)
                                                         (tramp-rsh-program 
"ssh") (tramp-rcp-program nil) (tramp-remote-sh
                                                                                
                            "/bin/sh") (tramp-rsh-args ("-e" "none")) 
(tramp-rcp-args nil)
                                                         
(tramp-rcp-keep-date-arg nil) (tramp-su-program nil) (tramp-su-args
                                                                                
                               nil) (tramp-telnet-program nil) 
(tramp-telnet-args nil)) ("ssh1"
                                                         
(tramp-connection-function tramp-open-connection-rsh)
                                                         (tramp-rsh-program 
"ssh") (tramp-rcp-program nil) (tramp-remote-sh
                                                                                
                            "/bin/sh") (tramp-rsh-args ("-1" "-e" "none")) 
(tramp-rcp-args ("-1"))
                                                         
(tramp-rcp-keep-date-arg nil) (tramp-su-program nil) (tramp-su-args
                                                                                
                               nil) (tramp-telnet-program nil) 
(tramp-telnet-args nil)) ("ssh2"
                                                         
(tramp-connection-function tramp-open-connection-rsh)
                                                         (tramp-rsh-program 
"ssh") (tramp-rcp-program nil) (tramp-remote-sh
                                                                                
                            "/bin/sh") (tramp-rsh-args ("-2" "-e" "none")) 
(tramp-rcp-args ("-2"))
                                                         
(tramp-rcp-keep-date-arg nil) (tramp-su-program nil) (tramp-su-args
                                                                                
                               nil) (tramp-telnet-program nil) 
(tramp-telnet-args nil)) ("ssh1_old"
                                                         
(tramp-connection-function tramp-open-connection-rsh)
                                                         (tramp-rsh-program 
"ssh1") (tramp-rcp-program nil) (tramp-remote-sh
                                                                                
                             "/bin/sh") (tramp-rsh-args ("-e" "none")) 
(tramp-rcp-args nil)
                                                         
(tramp-rcp-keep-date-arg nil) (tramp-su-program nil) (tramp-su-args
                                                                                
                               nil) (tramp-telnet-program nil) 
(tramp-telnet-args nil)) ("ssh2_old"
                                                         
(tramp-connection-function tramp-open-connection-rsh)
                                                         (tramp-rsh-program 
"ssh2") (tramp-rcp-program nil) (tramp-remote-sh
                                                                                
                             "/bin/sh") (tramp-rsh-args ("-e" "none")) 
(tramp-rcp-args nil)
                                                         
(tramp-rcp-keep-date-arg nil) (tramp-su-program nil) (tramp-su-args
                                                                                
                               nil) (tramp-telnet-program nil) 
(tramp-telnet-args nil)) ("telnet"
                                                         
(tramp-connection-function tramp-open-connection-telnet)
                                                         (tramp-rsh-program 
nil) (tramp-rcp-program nil) (tramp-remote-sh
                                                                                
                          "/bin/sh") (tramp-rsh-args nil) (tramp-rcp-args nil)
                                                         
(tramp-rcp-keep-date-arg nil) (tramp-su-program nil) (tramp-su-args
                                                                                
                               nil) (tramp-telnet-program "telnet") 
(tramp-telnet-args nil)) ("su"
                                                         
(tramp-connection-function tramp-open-connection-su) (tramp-rsh-program
                                                                                
                               nil) (tramp-rcp-program nil) (tramp-remote-sh 
"/bin/sh")
                                                         (tramp-rsh-args nil) 
(tramp-rcp-args nil) (tramp-rcp-keep-date-arg nil)
                                                         (tramp-su-program 
"su") (tramp-su-args ("-" "%u"))
                                                         (tramp-telnet-program 
nil) (tramp-telnet-args nil)) ("sudo"
                                                         
(tramp-connection-function tramp-open-connection-su) (tramp-rsh-program
                                                                                
                               nil) (tramp-rcp-program nil) (tramp-remote-sh 
"/bin/sh")
                                                         (tramp-rsh-args nil) 
(tramp-rcp-args nil) (tramp-rcp-keep-date-arg nil)
                                                         (tramp-su-program 
"sudo") (tramp-su-args ("-u" "%u" "-s"))
                                                         (tramp-telnet-program 
nil) (tramp-telnet-args nil)) ("multi"
                                                         
(tramp-connection-function tramp-open-connection-multi)
                                                         (tramp-rsh-program 
nil) (tramp-rcp-program nil) (tramp-remote-sh
                                                                                
                          "/bin/sh") (tramp-rsh-args nil) (tramp-rcp-args nil)
                                                         
(tramp-rcp-keep-date-arg nil) (tramp-su-program nil) (tramp-su-args
                                                                                
                               nil) (tramp-telnet-program nil) 
(tramp-telnet-args nil)) ("scpx"
                                                         
(tramp-connection-function tramp-open-connection-rsh)
                                                         (tramp-rsh-program 
"ssh") (tramp-rcp-program "scp") (tramp-remote-sh
                                                                                
                              "/bin/sh") (tramp-rsh-args ("-e" "none" "-t" "-t" 
"/bin/sh"))
                                                         (tramp-rcp-args nil) 
(tramp-rcp-keep-date-arg "-p")
                                                         (tramp-telnet-program 
nil) (tramp-telnet-args nil)) ("sshx"
                                                         
(tramp-connection-function tramp-open-connection-rsh)
                                                         (tramp-rsh-program 
"ssh") (tramp-rcp-program nil) (tramp-remote-sh
                                                                                
                            "/bin/sh") (tramp-rsh-args ("-e" "none" "-t" "-t" 
"/bin/sh"))
                                                         (tramp-rcp-args nil) 
(tramp-rcp-keep-date-arg nil) (tramp-su-program
                                                                                
                             nil) (tramp-su-args nil) (tramp-telnet-program 
nil) (tramp-telnet-args
                                                                                
                             nil)) ("krlogin" (tramp-connection-function 
tramp-open-connection-rsh)
                                                         (tramp-rsh-program 
"krlogin") (tramp-rcp-program nil) (tramp-remote-sh
                                                                                
                                "/bin/sh") (tramp-rsh-args ("-x")) 
(tramp-rcp-args nil)
                                                         
(tramp-rcp-keep-date-arg nil) (tramp-su-program nil) (tramp-su-args
                                                                                
                               nil) (tramp-telnet-program nil) 
(tramp-telnet-args nil)) ("plink"
                                                         
(tramp-connection-function tramp-open-connection-rsh)
                                                         (tramp-rsh-program 
"plink") (tramp-rcp-program nil) (tramp-remote-sh
                                                                                
                              "/bin/sh") (tramp-rsh-args ("-ssh")) 
(tramp-rcp-args nil)
                                                         
(tramp-rcp-keep-date-arg nil) (tramp-su-program nil) (tramp-su-args
                                                                                
                               nil) (tramp-telnet-program nil) 
(tramp-telnet-args nil)) ("pscp"
                                                         
(tramp-connection-function tramp-open-connection-rsh)
                                                         (tramp-rsh-program 
"plink") (tramp-rcp-program "pscp") (tramp-remote-sh
                                                                                
                                 "/bin/sh") (tramp-rsh-args ("-ssh")) 
(tramp-rcp-args nil)
                                                         
(tramp-rcp-keep-date-arg "-p") (tramp-su-program nil) (tramp-su-args
                                                                                
                                nil) (tramp-telnet-program nil) 
(tramp-telnet-args nil)) ("fcp"
                                                         
(tramp-connection-function tramp-open-connection-rsh)
                                                         (tramp-rsh-program 
"fsh") (tramp-rcp-program "fcp") (tramp-remote-sh
                                                                                
                              "/bin/sh -i") (tramp-rsh-args ("sh" "-i")) 
(tramp-rcp-args nil)
                                                         
(tramp-rcp-keep-date-arg "-p") (tramp-su-program nil) (tramp-su-args
                                                                                
                                nil) (tramp-telnet-program nil) 
(tramp-telnet-args nil)))))




reply via email to

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