help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: remote file editing over ssh with emacs 22.3.1 on Windows


From: Eli Zaretskii
Subject: Re: remote file editing over ssh with emacs 22.3.1 on Windows
Date: Thu, 07 May 2009 21:27:34 +0300

> Date: Thu, 07 May 2009 09:48:15 +0100
> From: Chris Withers <chris@simplistix.co.uk>
> 
> 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"?

You can't AFAIK.

> Anyway, I worked around that problem by connecting using plink.exe in a 
> dos box and caching the key.

That's the only way I know of to do this.

> 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?

I think this is a known problem with Tramp that comes with Emacs 22.
I think you should wait for Emacs 23.1 (to be released soon), or
perhaps install one of its pretest versions if you need this urgently.




reply via email to

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