Enter your bug report in this message, including as much detail as you
possibly can about the problem, what you did to cause it and what the
local and remote machines are.
If you can give a simple set of instructions to make this bug happen
reliably, please include those. Thank you for helping kill bugs in
--bug report follows this line--
when using the scp method to find file:
I see a prompt in the echo area saying:
Waiting 60s for shell or passwd prompt from gfd15.gfd.whoi.edu
but am then getting an error message:
tramp-open-connection-rsh: Out of band method `scp' not applicable for remote shell asking for a password
here is the debug buffer:
# Opening connection for eli@... using scp...
# Waiting 60s for shell or passwd prompt from gfd15.gfd.whoi.edu
Emacs : GNU Emacs 21.1.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2001-10-22 on beach.weizmann.ac.il
Package: tramp ($Id: tramp.el,v 2.44 2001/11/07 14:38:28 kaig Exp $)
tramp-remote-path '("/bin" "/usr/bin"
tramp-login-prompt-regexp ".*ogin: *$"
ET <eli@...> writes:
> If you can give a simple set of instructions to make this bug happen
> reliably, please include those. Thank you for helping kill bugs in
It is not a bug. Read the Documentation :)
> tramp-open-connection-rsh: Out of band method `scp' not applicable for
> remote shell asking for a password
Yes. And in the Tramp Docu you can read this:
If you want to use an external transfer method you _must_ be able to
execute the transfer utility to copy files to and from the remote
machine without any interaction.
This means that you will need to use `ssh-agent' if you use the
`scp' program for transfers, or maybe your version of `scp' accepts a
password on the command line.(1) If you use `rsync' via `ssh' then the
same rule must apply to that connection.
If you cannot get `scp' to run without asking for a password but
would still like to use `ssh' to secure your connection, have a look at
the `ssh' based inline methods.
Registered Linux User #97793 @ http://counter.li.org
From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai ) - 2001-11-12 12:14:28
ET <eli@...> writes:
> tramp-open-connection-rsh: Out of band method `scp' not applicable for remote shell asking for a password
This could be a missing feature, but it's not a bug, per se.
Tramp does not know how to watch for password prompts when running
`scp' to transfer the file. So it disallows you from doing that.
As a workaround, you can either set up the "ssh agent" so that you
don't have to enter a password (the agent enters it for you), or you
can use one of the inline methods, instead. (I like "sm".)
I like BOTH kinds of music.