delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/01/05/13:36:02

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=KkrLLmyw976RgkKj/bMZ3JVQLukHI2fYM2nHZzQ4Vl0
XZNdJcO8YhxZO3CqREf+usQnbrjqbYQfOhLnr3qClPTXF277UCQJE59RhLGtHtk1
JVX+gRlKfm5vNPmsEzmEw1uBi7LxoPowGOQ8uKYX+NCEItPeXJ8IDQfokNh4GUmM
=
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=TgTXgCjesvbcuo0GWRSF+gLL3mI=; b=nGqAMAlGz8s1sLldR
hfLtS8K2ReUWjQe5XOqAqAIu3snvYamtFywN5ZPXLDXM5QLGXHeB7C0R18MLM1ud
DN+sB1SGTQostFQGR4Iw3z1TjrbPkRB+RLou3L+0wDlwG1p1faIX5kpflBShoIMM
1oo2bHrf+65b6UrTeH51Qv/XIA=
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=-1.6 required=5.0 tests=BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,GIT_PATCH_2,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=Q, q, H*c:alternative, sk:davidmi
X-HELO: mail-oi0-f53.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; bh=TqtAkoUNg7TXgz2YNdIin5S3gjjYb44ix7NF1AHD72s=; b=r4vI+3lNnCRbwRv2PgcOoKkJ+NDX4jBCOCGafknMKs/7nv+Qo4cLijJnnVlj4R9rk9 K2Q6dxlLdpppwrxXi5UAw5KEQ6OlkQbYjA+pPZwSu0M2cQVzX0RVd2sNeTRMnGx4PBZv XOdtPCYFpYsP8FHRs9AHBiF1rPh3uyInF1ng+GhCRtzGZIw1IjreM3NmgvEQeDx/rBqm k4aXh7fLlqCKD/35DrgnKBvYJ6+71nOtOtffD9mwkb9hgp7UjWgl1RnYu9fPJmTSRhHG 30wdQDqiOLj6LorejibukwzCjn1YtekqfJPgWi6htUABcLpfrkkajAhWyIiDEUYpHaEM Th8A==
X-Gm-Message-State: AKGB3mL+Uj8vaf9YrVMYjl0KvfDz8pvE/QZ9dlevIKJqZR6C/hJSR8ob EZuImhNlaRsBaxxL4kd+DLkrcGv3qX/i47xoAKo=
X-Google-Smtp-Source: ACJfBouHQ3sKDAmy151jbWPu8fjJRw2u+BtFC1KB58OUDUcbeIldXDBuDT5bid5Xky/wxyGk6OBL768KKmZoNMFso+g=
X-Received: by 10.202.94.132 with SMTP id s126mr2220548oib.114.1515177341790; Fri, 05 Jan 2018 10:35:41 -0800 (PST)
MIME-Version: 1.0
In-Reply-To: <CAA5t8VrzMW6xMu+BDmw6S72rv5ACzvDMQXTm1TVnrxLoLtR=LQ@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>
From: George Prikhodko <gp1864 AT gmail DOT com>
Date: Fri, 5 Jan 2018 12:35:41 -0600
Message-ID: <CAMtE2Rsec8iJwN+jnOhBsZj=GGP=ybEM2Syy0N-q_MDJm+M4Ug@mail.gmail.com>
Subject: Re: Can't connect to ssh host with Emacs tramp
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id w05Ia01x016576

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.

Good luck!

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


- Raw text -


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