[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
remote file editing over ssh with emacs 22.3.1 on Windows
From: |
Chris Withers |
Subject: |
remote file editing over ssh with emacs 22.3.1 on Windows |
Date: |
Thu, 07 May 2009 09:48:15 +0100 |
User-agent: |
Thunderbird 2.0.0.21 (Windows/20090302) |
Hi All,
I'm trying to get remote editing working using ssh.
I've copied in the the relevant tramp stuff from
http://www.redantigua.com/emacs-win.html
...to my ~/_emacs files, although I'm using the tramp that came with
emacs 22.3.1, not a separately downloaded one.
The first problem I hit was that the remote machine's key was not in the
registry, so tramp/plink stalled with the following in its buffer:
"""
The server's host key is not cached in the registry. You
have no guarantee that the server is the computer you
think it is.
The server's rsa2 key fingerprint is:
ssh-rsa 2048 cc:7f:79:8a:20:04:b7:39:6c:a7:3e:4f:ea:4f:b1:e3
If you trust this host, enter "y" to add the key to
PuTTY's cache and carry on connecting.
If you want to carry on connecting just once, without
adding the key to the cache, enter "n".
If you do not trust this host, press Return to abandon the
connection.
Store key in cache? (y/n)
"""
How can I interact with this to say "yes"?
Anyway, I worked around that problem by connecting using plink.exe in a
dos box and caching the key.
This gets further now, but takes an awful long time with the message:
'tramp: Setting up remote shell' showing before bombing. Here's the
chunk from the Messages buffer:
tramp: Opening connection for cwithers@server1.simplistix.co.uk using nil...
tramp: Waiting for prompts from remote shell
tramp: Waiting 60s for prompt from remote shell
tramp: Found remote shell prompt.
tramp: Initializing remote shell
Loading time-date...done
tramp: Waiting 30s for remote `/bin/sh' to come up...
tramp: Setting up remote shell environment
apply: Couldn't `stty -inlcr -echo kill '^U'', see buffer `*tramp/plink
cwithers@server1.simplistix.co.uk*'
The tramp/plink buffer contains:
stty -inlcr -echo kill '^U'
$ $
Can someone point me to what's gone wrong and how I can fix it?
cheers,
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
- remote file editing over ssh with emacs 22.3.1 on Windows,
Chris Withers <=
- Re: remote file editing over ssh with emacs 22.3.1 on Windows, Eli Zaretskii, 2009/05/07
- Re: remote file editing over ssh with emacs 22.3.1 on Windows, Ian Eure, 2009/05/07
- Re: remote file editing over ssh with emacs 22.3.1 on Windows, Eli Zaretskii, 2009/05/09
- Re: remote file editing over ssh with emacs 22.3.1 on Windows, Chris Withers, 2009/05/09
- Re: remote file editing over ssh with emacs 22.3.1 on Windows, Eli Zaretskii, 2009/05/09
- Re: remote file editing over ssh with emacs 22.3.1 on Windows, Chris Withers, 2009/05/09
- Re: remote file editing over ssh with emacs 22.3.1 on Windows, Eli Zaretskii, 2009/05/09