X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type:content-transfer-encoding; q=dns; s=default; b=OeJ2otyDuO4pa1MIEsRJkB8gu310bo7loU8ADCXqe/Y WefN9qZUSrf1H2irCrjbKHPvFPxnkG/zhH6JPGaQ9KQefDNfVKoAxmw5LxoZ93VN x2/XXP4RJ6udmiZOiD4bsm8xSEAFbz+ibI13fE/h+pPi8OvYQ+dL7gy82L3gRXfo = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type:content-transfer-encoding; s=default; bh=bqUb/glTZ2B/OQpOfrmFv6YClqk=; b=ZBOqXwf3fY9ZqjmL6 FNvacjtqE6nCP0sBEbqwRscjlyBthBrL+vLWC69gwE02BD/M5xizIImxORNcV4u1 3xoWDvkjog+gwWUlgkefH9FnJVVPEhhSW9SY4OrlNx1HvZ7RfBHNaOIatvWvzMY2 MQM/HVkVqhB9JzWTBiXbJle7Cc= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-6.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,GIT_PATCH_2,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=slows X-HELO: mail-wm0-f52.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-transfer-encoding; bh=/SoOjk5WDi/fZ3yFkTOxU0haZ02iJrlP5fIOBYTo2z8=; b=tQYyirITnmMzc9Kt+Z7NSny7KaSx42emvKBxmTJnTjmjbcnvswMxl9ecLgiLS5eZYT HZAtLW9Qt+EqI26z42E9fuQlNdwoui+VyCkzH32kqbTrqD9h4kHB5SP5JwKvoqAQFgg5 CnQnWKjYzqK/ddL6mURRSBJsHXWsfEcGXHp37A+/zh6rVJl9wVRi874Dg3rkzSnuh6Ek HkJH+WCmm24OgqykAECbTVf71Qz8YQf7oIp4P/HIfKfd+BCeqKn2ujvMv/IsfzfvfsqW 5b8z3cxi8drkQykx1k+Z7tJIKMbbjK6GHxecm878Cfpi4Z3PT/zAQZUGCSvPTreUrm1P Aqgw== X-Gm-Message-State: AKGB3mIkb3J92pY/s6fjKnRmBsqM5Sv/boGZrdZVsohW8dxjnK74+oEi XzNxqLQ//UwF3QZPi9PXstL5APtSei/CAz7omJ5WHQ== X-Google-Smtp-Source: ACJfBotegkMiLgPuanx3YTqOH71J1q3q8fdqGjUDJIEYD6v1crpJRcNqajcE/Z7O2jEBp1XAA4YzyB4Io0HGyu4hCx4= X-Received: by 10.80.173.163 with SMTP id a32mr5071406edd.114.1515170269547; Fri, 05 Jan 2018 08:37:49 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: From: David Karr Date: Fri, 5 Jan 2018 08:37:48 -0800 Message-ID: Subject: Re: Can't connect to ssh host with Emacs tramp To: The Cygwin Mailing List Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id w05GcLm4008814 On Thu, Jan 4, 2018 at 5:15 PM, Ken Brown wrote: > On 1/4/2018 5:42 PM, David Karr wrote: >> >> I've reviewed some of the Emacs tramp documentation, but I'm not sure >> what the issue is. >> >> If I'm using Cygwin, I don't need the putty components for this, do I? > > > No, I make ssh connections through Emacs tramp without putty. > >> When I attempt to open a text file in my homedir on a remote host, >> which I can ssh to (passwordless) from the shell, it just times out. >> >> The *Messages* buffer shows this (fqhn is the hostname): >> ------------------ >> Tramp: Opening connection for fqhn using scp... >> Tramp: Sending command ‘exec ssh -o ControlMaster=auto -o >> ControlPath='tramp.%C' -o ControlPersist=no -e none fqhn’ >> Tramp: Waiting for prompts from remote shell... >> Timeout reached, see buffer ‘*tramp/scp fqhn*’ for details >> Tramp: Waiting for prompts from remote shell...failed >> Tramp: Opening connection for fqhn using scp...failed >> ----------------------- >> >> There doesn't appear to be a buffer named "*tramp/scp fqhn*". > > > Sorry, I don't know enough about tramp to diagnose this. Maybe it would > help if you would say exactly what commands you gave. And does the problem > occur if you start with 'emacs -Q'? What "commands" am I giving? All I'm trying to do is open a single file on the remote host. I'm entering "//fqhn:/home//.bash_profile". I get different behavior using "emacs -Q". I don't get a timeout error, but I also don't think it even attempted to connect to the remote box. The editor view just opens with the given name, but it's empty (it shouldn't be). The "*Messages*" buffer doesn't indicate that it ever tried to make a connection. It also says "Use M-x make-directory RET RET to create the directory and its parents". The other frustrating issue with my full Emacs configuration is that when I enter the second forward slash, key response vastly, and I mean vastly, slows down. I've gone through the tramp FAQ looking for potential performance issues, but nothing has helped. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple