From: Joseph Kiniry <kiniry@acm.org>
Cc: david <dfphil@yahoo.com>,
Kai =?iso-8859-1?q?Gro=DFjohann <kai.grossjohann@gmx.net>,
"?= Pascal Bourguignon" <spam@thalassa.informatimago.com>
Subject: Re: ssh in emacs shell in OS X
Date: Fri, 29 Aug 2003 10:51:26 +0200 [thread overview]
Message-ID: <ww7bru8n8xd.fsf@kind.cs.kun.nl> (raw)
In-Reply-To: 84vfshft75.fsf@slowfox.is.informatik.uni-duisburg.de
kai.grossjohann@gmx.net (Kai Großjohann) writes:
> 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?
I have successfully gotten Tramp to work with a fink-built FSF Emacs
under OS X by using a process-connection-type of nil and a Tramp
connection method of sshx. It was not necessary modify the stock
definition of sshx.
I use SSH Agent (http://www.phil.uu.nl/~xges/ssh/) to handle ssh proxy
authentication so that ssh-askpass/ssh-add is never in the loop.
Joe
--
Joseph R. Kiniry ID 78860581 ICQ 4344804
SOS Group, University of Nijmegen http://www.cs.kun.nl/~kiniry/
KindSoftware, LLC http://www.kindsoftware.com/
Board Chair: NICE http://www.eiffel-nice.org/
next prev parent reply other threads:[~2003-08-29 8:51 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
2003-08-29 8:51 ` Joseph Kiniry [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ww7bru8n8xd.fsf@kind.cs.kun.nl \
--to=kiniry@acm.org \
--cc=dfphil@yahoo.com \
--cc=kai.grossjohann@gmx.net \
--cc=spam@thalassa.informatimago.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.
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.