Your ssh client for Windows is the key here, and the ssh 'Tramp method is almost certainly incorrect.
If you use Cygwin, you need to use the sshx method, and you probably will need to use ssh-agent for authentication. Details here: Is it possible to use tramp with EmacsW32 and cygwin?
I assume the same applies to any standalone ssh client that does not require a full installation of Cygwin, but uses the Cygwin DLLs. (I mention this because I'm sure I remember seeing it.)
If you use PuTTY, you need the plink method, as Alex Ott pointed out. If the Wiki is missing, search here will probably come up with solutions to customize this approach.
Other alternatives I can offer are as follows:
Use Cygwin-native Emacs. This will be slower than NTEmacs, but Tramp seems to work well with the ssh method and also works with passwords.
Install the Linux virtual machine in your Windows window and start Emacs. This is a pretty big hoop to go over, but it is my preferred way to use Tramp when running on Windows.
phils Aug 05 '11 at 12:19 2011-08-05 12:19
source share