From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kai.grossjohann@gmx.net (=?iso-8859-1?q?Kai_Gro=DFjohann?=) Newsgroups: gmane.emacs.help Subject: Re: ssh in emacs shell in OS X Date: Thu, 28 Aug 2003 22:00:46 +0200 Organization: University of Duisburg, Germany Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <84vfshft75.fsf@slowfox.is.informatik.uni-duisburg.de> References: <5d2d72f0.0308280740.56b0c2af@posting.google.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1062101859 3921 80.91.224.253 (28 Aug 2003 20:17:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 28 Aug 2003 20:17:39 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 28 22:17:36 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19sTD6-0003o4-00 for ; Thu, 28 Aug 2003 22:17:36 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 19sTCD-0002Rh-8v for geh-help-gnu-emacs@m.gmane.org; Thu, 28 Aug 2003 16:16:41 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!pd951f09d.dip.t-dialin.NET!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 27 Original-NNTP-Posting-Host: pd951f09d.dip.t-dialin.net (217.81.240.157) Original-X-Trace: news.uni-berlin.de 1062100846 11040478 217.81.240.157 (16 [73968]) Mail-Copies-To: never User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:jYIU2g8HWTz7nubQJ2U0k9K7WF4= Original-Xref: shelby.stanford.edu gnu.emacs.help:116224 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:12142 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:12142 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.