all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* remote file editing over ssh with emacs 22.3.1 on Windows
@ 2009-05-07  8:48 Chris Withers
  2009-05-07 18:27 ` Eli Zaretskii
  0 siblings, 1 reply; 42+ messages in thread
From: Chris Withers @ 2009-05-07  8:48 UTC (permalink / raw)
  To: help-gnu-emacs

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




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

end of thread, other threads:[~2009-06-12 15:38 UTC | newest]

Thread overview: 42+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-07  8:48 remote file editing over ssh with emacs 22.3.1 on Windows Chris Withers
2009-05-07 18:27 ` Eli Zaretskii
2009-05-07 18:48   ` Ian Eure
2009-05-08 21:18     ` Chris Withers
2009-05-08 21:19       ` Ian Eure
2009-05-08 21:23         ` Chris Withers
2009-05-09  7:05       ` Eli Zaretskii
2009-05-09  8:49         ` Chris Withers
2009-05-09  9:27           ` Eli Zaretskii
2009-05-09 17:41             ` Chris Withers
2009-05-09 19:09               ` Eli Zaretskii
2009-05-10  8:37                 ` Chris Withers
2009-05-10 17:29                   ` Eli Zaretskii
2009-05-10 18:23                   ` Peter Dyballa
2009-05-16 16:57                     ` Chris Withers
     [not found]                 ` <mailman.6949.1241969740.31690.help-gnu-emacs@gnu.org>
2009-05-11 21:18                   ` Anselm Helbig
2009-05-16 16:59                     ` Chris Withers
2009-05-23 20:02                       ` Michael Albinus
2009-05-25 15:40                         ` Chris Withers
2009-05-26 20:50                           ` Michael Albinus
2009-05-30 12:26                             ` remote file editing over ssh with emacs 22.3.1 on Windows/Mac Chris Withers
2009-05-30 12:35                               ` Michael Albinus
2009-06-08 12:06                               ` remote editing of unix files over ssh with emacs 22.3.1 from Windows Chris Withers
2009-06-08 12:39                                 ` Michael Albinus
2009-06-08 12:58                                   ` Chris Withers
2009-06-08 13:08                                     ` Michael Albinus
2009-06-12 15:38                                       ` Chris Withers
2009-06-08 12:51                                 ` Peter Dyballa
     [not found]                     ` <mailman.7269.1242493182.31690.help-gnu-emacs@gnu.org>
2009-05-16 18:21                       ` remote file editing over ssh with emacs 22.3.1 on Windows Anselm Helbig
2009-05-25 15:44                         ` Chris Withers
2009-05-09 18:04           ` Peter Dyballa
2009-05-09 18:05             ` Chris Withers
2009-05-09 19:40               ` Peter Dyballa
2009-05-16 17:01                 ` Chris Withers
2009-05-16 18:26                   ` Peter Dyballa
     [not found]                 ` <mailman.7270.1242493264.31690.help-gnu-emacs@gnu.org>
2009-05-17  1:59                   ` Tim X
2009-05-25 15:50                     ` Chris Withers
     [not found]             ` <mailman.6908.1241895850.31690.help-gnu-emacs@gnu.org>
2009-05-10  8:43               ` Anselm Helbig
2009-05-10  8:50                 ` Richard Riley
2009-05-16 17:03                 ` Chris Withers
     [not found]                 ` <mailman.7271.1242493390.31690.help-gnu-emacs@gnu.org>
2009-05-16 17:54                   ` Anselm Helbig
2009-05-10  7:28           ` Reiner Steib

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.