From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Strange behaviour on Windows 10 Date: Fri, 27 Sep 2019 21:26:05 +0300 Message-ID: <83sgohiojm.fsf@gnu.org> References: <824l0xoqfq.fsf@gmail.com> <83d0flkh4y.fsf@gnu.org> <82r241n7uf.fsf@gmail.com> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="235775"; mail-complaints-to="usenet@blaine.gmane.org" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 27 20:26:57 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iDuxD-000zB7-QJ for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Sep 2019 20:26:55 +0200 Original-Received: from localhost ([::1]:56102 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDuxC-0007eK-3k for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Sep 2019 14:26:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38497) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDuwZ-0007cS-Mn for help-gnu-emacs@gnu.org; Fri, 27 Sep 2019 14:26:17 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:46367) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iDuwZ-0001Og-J7 for help-gnu-emacs@gnu.org; Fri, 27 Sep 2019 14:26:15 -0400 Original-Received: from [176.228.60.248] (port=1163 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iDuwY-00056M-46 for help-gnu-emacs@gnu.org; Fri, 27 Sep 2019 14:26:15 -0400 In-reply-to: <82r241n7uf.fsf@gmail.com> (message from Pascal Quesseveur on Fri, 27 Sep 2019 16:15:36 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.org gmane.emacs.help:121573 Archived-At: > From: Pascal Quesseveur > Date: Fri, 27 Sep 2019 16:15:36 +0200 > > >"EZ" == Eli Zaretskii writes: > > EZ> One possible reason is that your Emacs is a 32-bit build. Windows > EZ> silently redirects all accesses to C:\Windows\System32 from 32-bit > EZ> programs to C:\Windows\SysWOW64. If there's no OpenSSH there, you get > EZ> an error. > > Thank you. Yes, there is no OpenSSH dir in SysWOW64. I totally forgot > about 32/64 bits problems. > > Does that mean I have to install a 64 bits emacs to make it work? First, did you verify that your Emacs is a 32-bit build? What is the value of system-configuration? If that indeed indicates a 32-bit build, you have 2 alternatives: . install a 64-bit build of Emacs (this is the preferred solution, and will serve you better down the road) . continue using the 32-bit build, but make a batch file that will call OpenSSH, then put that batch file somewhere on PATH. The batch file should have the same base name as the OpenSSH program you are invoking, probably ssh.cm (this assumes the corresponding Lisp program calls "ssh", not "ssh.exe")