delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/01/08/17:34:56

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=p/VG0E35fVfJTFSgtBfMxduL0ruy/waReunOjGXSN+e
Py9sAEa4X9ORQBvvnM/e6S6W4Kh7IrQTMN7E5GvwDFf/4pPRg6YyAJ0oJ5bjMMg7
//QneKY1S0ym0t0HB/haUdltohxpU70qfQBe3QMXK/zodxL/gpgOvkfZRsWr00Vo
=
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=hzt+wlpcE6zrsUZphP6170roWIs=; b=t1m+5QJuwH73aNgpF
Q4XdTSm3OQgNo9RAos2BMlWWOBJabqwp3/Y6/8bga7EpJ95n9FOFyZMLiqD//Uq+
spKqDDfZ34Keb17hT8+He6ae+IvrVcLEJfWobBk9ebs6jsjbm3ztulLE9+SsVnjB
7l1DFueCkxzQsq4jrNOBlTrLXU=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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=interactions, Mx
X-HELO: mail-wm0-f44.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=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
In-Reply-To: <CAMtE2Rsec8iJwN+jnOhBsZj=GGP=ybEM2Syy0N-q_MDJm+M4Ug@mail.gmail.com>
References: <CAA5t8VqaZhPgRjAohsZgbn1D5Sh2a_T5CKFDb5DDrYKEOE=M6Q AT mail DOT gmail DOT com> <e31939ee-b8f5-b96d-0031-59a48493749a AT cornell DOT edu> <CAA5t8VrzMW6xMu+BDmw6S72rv5ACzvDMQXTm1TVnrxLoLtR=LQ AT mail DOT gmail DOT com> <CAMtE2Rsec8iJwN+jnOhBsZj=GGP=ybEM2Syy0N-q_MDJm+M4Ug AT mail DOT gmail DOT com>
From: David Karr <davidmichaelkarr AT gmail DOT com>
Date: Mon, 8 Jan 2018 14:28:24 -0800
Message-ID: <CAA5t8Vo8HdWY9ofQo1G9sAwVN2x739CESaaV3oqMA2-0nPnJKw@mail.gmail.com>
Subject: Re: Can't connect to ssh host with Emacs tramp
To: The Cygwin Mailing List <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id w08MYt4u016323

On Fri, Jan 5, 2018 at 10:35 AM, George Prikhodko <gp1864 AT gmail DOT com> wrote:
> Hi,
>
> Have you tried to set in your ~/.emacs file ‘tramp-verbose’ 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 <davidmichaelkarr AT gmail DOT com>
> wrote:
>
>> On Thu, Jan 4, 2018 at 5:15 PM, Ken Brown <kbrown AT cornell DOT edu> 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/<myuid>/.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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019