From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Haines Brown Newsgroups: gmane.emacs.help Subject: run ssh in emacs Date: Mon, 12 Jan 2015 14:32:05 -0500 Message-ID: <87vbkbre16.fsf@bach.histomat.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1421091327 8043 80.91.229.3 (12 Jan 2015 19:35:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 12 Jan 2015 19:35:27 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jan 12 20:35:22 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YAkll-0002Fo-As for geh-help-gnu-emacs@m.gmane.org; Mon, 12 Jan 2015 20:35:21 +0100 Original-Received: from localhost ([::1]:36089 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YAklk-00019m-DG for geh-help-gnu-emacs@m.gmane.org; Mon, 12 Jan 2015 14:35:20 -0500 Original-Path: usenet.stanford.edu!news.glorb.com!Xl.tags.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail Original-NNTP-Posting-Date: Mon, 12 Jan 2015 13:32:05 -0600 Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:UPljZfGSHSO/TpRJ8gMt30qvmcw= Original-Lines: 23 X-Usenet-Provider: http://www.giganews.com Original-X-Trace: sv3-9ze2eDEFsmiooE8tMvgiIFshP69usUeSrYlUgmxBDxlW1OD86/oiv3vSHQkqpAQG9k/qrTEPPXzSFBD!Ug236k7CI+ApOjd0AjkYVURQWj+mgyltGdVhGyvLpWEIZVMqtXQ6c3TOwSw= Original-X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 2050 Original-Xref: usenet.stanford.edu gnu.emacs.help:209755 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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 Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:102034 Archived-At: I want to gain access to two machines on the LAN by means of ssh. In order to use emacs as a file manager, I do # ssh -Y remotehost, and then start emacs on that host, and split its window. One buffer accesses files on the remote machine, and I want the other buffer to access the local machine in order to use emacs to transfer files between the hosts. However, this does not work. For example, if I bring up a shell in emacs (C-!) and do ! ssh localhost, I get: Pseudo-terminal will not be allocated because stdin is not a terminal. ssh_askpass: exec(/usr/bin/ssh-askpass): No such file or directory Permission denied, please try again. ssh_askpass: exec(/usr/bin/ssh-askpass): No such file or directory Permission denied, please try again. ssh_askpass: exec(/usr/bin/ssh-askpass): No such file or directory Permission denied (publickey,password). Is the problem not having access to pseudo-terminal, or it that there is no /usr/bin/ssh-askpass file? How do I construct that file. Why can't I just provide the password when prompted for it? Haines Brown