all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Tramp under Windoze:  should "semicommercial"  SSH2 work?
@ 2008-05-17 17:16 George McBane
  2008-05-17 19:22 ` Peter Dyballa
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: George McBane @ 2008-05-17 17:16 UTC (permalink / raw)
  To: help-gnu-emacs

I have Emacs under WinXP running (GNU Emacs 22.2.1 
(i386-mingw-nt5.1.2600)) and would like to use TRAMP
in ssh mode.  I have two versions of ssh:
1) Cygwin OpenSSH (and I realize that one isn't supposed to work), and
2) the command-line SSH2 that comes with SSH Secure Shell version 3.2.9
from SSH Communications Security Corp.  This is the
free noncommercial version they used to distribute from their
website, and that is still available from several other sites.

 From a normal Windows command shell I can use
ssh2 -l username machine.domain
and get a normal password prompt that succeeds and
gives me a shell prompt right away.

Should I be able to use the ssh2 program as an inline method in TRAMP?
The definition of tramp-methods indicates that there is a method 
ssh2_old that uses ssh2 as its connection program.  So I put
in my .emacs
(setq tramp-default-method "ssh2_old")

But, when I try to edit a remote file, I don't succeed.
I do ^x^f /username@machine.domain:~/path/file
and get in the message line "tramp: waiting 60s for prompt from remote 
shell", which never succeeds or times out.


If someone can give me suggestions about how to set this up,
I'd appreciate it.  I see that the usual advice appears to be
"use PuTTY and the plink method", which I'll do if necessary,
but I'd rather not install yet another ssh application if I can
help it.

TIA,
George.


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

end of thread, other threads:[~2008-05-20 10:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-17 17:16 Tramp under Windoze: should "semicommercial" SSH2 work? George McBane
2008-05-17 19:22 ` Peter Dyballa
2008-05-18 18:39 ` Michael Albinus
     [not found] ` <mailman.11796.1211135988.18990.help-gnu-emacs@gnu.org>
2008-05-18 19:14   ` George McBane
2008-05-19  7:53     ` Michael Albinus
     [not found]     ` <mailman.11829.1211183537.18990.help-gnu-emacs@gnu.org>
2008-05-19 14:27       ` George McBane
2008-05-20 10:02         ` Michael Albinus

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.