unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: dfphil@yahoo.com (david)
Subject: ssh in emacs shell in OS X
Date: 28 Aug 2003 08:40:50 -0700	[thread overview]
Message-ID: <5d2d72f0.0308280740.56b0c2af@posting.google.com> (raw)

I am trying to get tramp working in emacs on OS X. I am using Andrew
Choi's "Emacs 21 for Mac OS X" which is otherwise working quite
nicely. (For reference, emacs responds with "GNU Emacs 21.3.50.4
(powerpc-apple-darwin6.6) of 2003-08-27" when I ask it - today - for
the version. )

However, when I try to use tramp to load a file from a local server,
it goes into a nasty loop of  "tramp: Looking for regexp" and
eventually dies.

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.

I don't want ssh to launch ssh-askpass to ask for a password. I just
want it to ask for my password as it normally would from a terminal. I
haven't succeeded in Googling my way out of this problem. I don't
understand under what circumstances ssh tries to invoke ssh-askpass or
how to stop it. Nor do I understand why emacs is telling me that stdin
is not a terminal.

  Any suggestions? 

   Thanks,
     David

             reply	other threads:[~2003-08-28 15:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-28 15:40 david [this message]
2003-08-28 20:00 ` ssh in emacs shell in OS X Kai Großjohann
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=5d2d72f0.0308280740.56b0c2af@posting.google.com \
    --to=dfphil@yahoo.com \
    /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).