From: "Ehud Karni" <ehud@unix.mvs.co.il>
Cc: emacs-devel@gnu.org
Subject: Re: Fw: [h-e-w] Emacs and ssh
Date: Mon, 21 Feb 2005 18:10:17 +0200 [thread overview]
Message-ID: <200502211610.j1LGAH4j013533@beta.mvs.co.il> (raw)
In-Reply-To: <002401c516d7$0d3e8cf0$0200a8c0@sedrcw11488> (message from Lennart Borgman on Sun, 20 Feb 2005 00:01:57 +0100)
On Sun, 20 Feb 2005 00:01:57 +0100, Lennart Borgman wrote:
>
> > On Wed, 16 Feb 2005 22:47:02 +0100, Michael Albinus wrote:
> > > Hello,
> > >
> > > I'ld like to start Cygwin ssh from Emacs *shell* buffer (recent Emacs
> > > 21.3.50 from sourceforge/nqmacs). Unfortunately, Emacs under Windows
> > > doesn't provide a tty; that's why I've used "ssh -t -t":
> > >
> > > [snip]
> > >
> > > debug1: Requesting pty.
> > > debug1: Requesting shell.
> > > debug1: Entering interactive session.
> > > debug1: fd 0 clearing O_NONBLOCK
> > >
> > > What do I need to run it in Emacs outside Cygwin? Any option or
> > > environment variable to be used?
> >
> > [I swear I had tramp working with ntemacs a few months back
> > .............Arghhhhhhhh]
> >
> > I too use the same version of emacs and use the latest ssh from cygwin
> > and when I issue
> > the same command (ssh -v -e none -t -t host.com) within the shell
> > buffer at the end
> > I get these messages, and it hungs:
> > ..............
> > debug1: Authentication succeeded (publickey).
> > debug1: channel 0: new [client-session]
> > debug1: Entering interactive session.
> > tcgetattr: Inappropriate ioctl for device
>
If you use Cygwin ssh, why not use Cygwin Emacs ?
I tested (Cygwin's) ssh from within (Cygwin's) Emacs and it works
VERY well on both Emacses (the one distributed with Cygwin - 21.2,
and cvs's Emacs - 22.0.50 built on Cygwin).
I don't use NTemacs (I stopped using it after 20.6), but I think
you should try running ssh -T (Disable pseudo-tty allocation),
something like: ssh -v -T YOUR-HOST "/bin/bash -i" .
You won't have "job control" but otherwise it should work well.
Ehud
--
Ehud Karni Tel: +972-3-7966-561 /"\
Mivtach - Simon Fax: +972-3-7966-667 \ / ASCII Ribbon Campaign
Insurance agencies (USA) voice mail and X Against HTML Mail
http://www.mvs.co.il FAX: 1-815-5509341 / \
GnuPG: 98EA398D <http://www.keyserver.net/> Better Safe Than Sorry
next prev parent reply other threads:[~2005-02-21 16:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-19 23:01 Fw: [h-e-w] Emacs and ssh Lennart Borgman
2005-02-21 16:10 ` Ehud Karni [this message]
2005-02-21 22:51 ` Michael Albinus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200502211610.j1LGAH4j013533@beta.mvs.co.il \
--to=ehud@unix.mvs.co.il \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.