From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 35593 invoked by alias); 8 Jan 2018 22:34:46 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 35583 invoked by uid 89); 8 Jan 2018 22:34:45 -0000 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=interactions, Mx X-HELO: mail-wm0-f44.google.com Received: from mail-wm0-f44.google.com (HELO mail-wm0-f44.google.com) (74.125.82.44) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 08 Jan 2018 22:34:43 +0000 Received: by mail-wm0-f44.google.com with SMTP id r78so17049561wme.5 for ; Mon, 08 Jan 2018 14:34:43 -0800 (PST) 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=9+BIbNnW/AS8wMcGoDgPV8hIm3MU2Nekcyf1ePQWsrU=; b=IT4mEv+CkukZ2TVFn/7UBnBsgtUZyAIL9pkZdzrEXMwsrFOxYgbeM25Wx7y0xYij6f chlrtKdLJckIVYQP/qVTnZdQ27Tre+3RAmEAG7w9mHkarSjxCuCaM+TqdNCzjEnvgzAn Sn5i0LXZbObwiyHZwXuXk6eurFhSwXC/OePHnI0Xrki/TGnO0GLY1//rmNuNZS5jXivJ RzKsp0y7VO2A9+wgN3SWxlcdG2hy7CMRbR4I0t4iDSYVQM6ZoK4BX86i4BnDVyks3Awj d3dHIkPrTiUU6RtwoNTiWf+lzOvPHSEWKmgy72hlM+3euMLWA0+FAMSV/N6fqhDHioiB te5w== X-Gm-Message-State: AKGB3mJm1f0IQcPdbji3t/k7oG+t2MdiQ6NaSrlYazUjC89WNaPI+VMl NfIcrv648xjrf4f8qAu/RL60wmsEe4wCCbhu9V4= X-Google-Smtp-Source: ACJfBos9Pov06wQKt0iG8h4v4H5gsTW8ws/w/VjLMjlU2lLe2CFUnntTbbY+ZOrZlO6DCgmWsK2s79/w5r71GiFMVRQ= X-Received: by 10.80.137.34 with SMTP id e31mr18204944ede.90.1515450505646; Mon, 08 Jan 2018 14:28:25 -0800 (PST) MIME-Version: 1.0 Received: by 10.80.172.230 with HTTP; Mon, 8 Jan 2018 14:28:24 -0800 (PST) In-Reply-To: References: From: David Karr Date: Mon, 08 Jan 2018 22:34:00 -0000 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" Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2018-01/txt/msg00062.txt.bz2 On Fri, Jan 5, 2018 at 10:35 AM, George Prikhodko wrote: > Hi, > > Have you tried to set in your ~/.emacs file =E2=80=98tramp-verbose=E2=80= =99 variable? > If not, then add to the file the following line: > > (setq tramp-verbose 6) > > In '*debug tramp/scp remote_host_name*' buffer you'll see all interactions > between tramp, ssh and your remote host. Well, that's odd. I decided to get back to this, and now I see that this is working perfectly fine. The only thing I've changed is setting this verbose variable to 6. However, I then changed it back to 1 and retested, and it's still working fine. I'm confused. > On Fri, Jan 5, 2018 at 10:37 AM, David Karr > wrote: > >> 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 =E2=80=98exec ssh -o ControlMaster=3Dauto -o >> >> ControlPath=3D'tramp.%C' -o ControlPersist=3Dno -e none fqhn=E2=80=99 >> >> Tramp: Waiting for prompts from remote shell... >> >> Timeout reached, see buffer =E2=80=98*tramp/scp fqhn*=E2=80=99 for de= tails >> >> 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 wou= ld >> > 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 >> >> > > -- > 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 > -- 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