unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: kai.grossjohann@gmx.net (Kai Großjohann)
Subject: Re: ssh in emacs shell in OS X
Date: Thu, 28 Aug 2003 22:00:46 +0200	[thread overview]
Message-ID: <84vfshft75.fsf@slowfox.is.informatik.uni-duisburg.de> (raw)
In-Reply-To: 5d2d72f0.0308280740.56b0c2af@posting.google.com

dfphil@yahoo.com (david) writes:

> After some Googling, I tried to get ssh working from an emacs shell.
> This also fails.  After typing M-x shell and receiving a bash shell, I
> type:
>         bash-2.05b$ ssh me@host
> and emacs replies with
>         Pseudo-terminal will not be allocated because stdin is not a
> terminal
>         ssh_askpass: exec(/sw/lib/ssh-askpass): No such file or
> directory
>         Write failed: Broken pipe
> I get a corresponding error when I use the OS X default ssh. It looks
> for askpass in a different directory and doesn't find it there,
> either.

Ah, the infamous process-connection-type problem.  Under OS X,
process-connection-type is set to nil, but then Tramp doesn't work.
I think that some people have tried setting it to t, and at least
their computer didn't blow up.  But I don't know what other bad side
effects this setting had.

Another possibility might be to use the sshx method.  It invokes "ssh
-t -t".  The double "-t" argument is an undocumented ssh-on-Windows
(mis?)feature to force it to alloc a pty.  Maybe it also works on OS X?
-- 
Two cafe au lait please, but without milk.

  reply	other threads:[~2003-08-28 20:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-28 15:40 ssh in emacs shell in OS X david
2003-08-28 20:00 ` Kai Großjohann [this message]
2003-08-29  8:51   ` Joseph Kiniry
2003-08-28 20:46 ` Pascal Bourguignon

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=84vfshft75.fsf@slowfox.is.informatik.uni-duisburg.de \
    --to=kai.grossjohann@gmx.net \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).