Subject: Re: bug#20015: 25.0.50; Slow Emacs startup after recent TRAMP changes

From: Michael Albinus <[email-masked]>
Date: Fri, 06 Mar 2015 10:23:10 +0100

Tassilo Horn <[email-masked]> writes:

> Hi Michael,

Hi Tassilo,

> % time ssh -o ControlPath=%C host.does.not.exist
> ssh: Could not resolve hostname host.does.not.exist: Name or service not known
> ssh -o ControlPath=%C host.does.not.exist  0,00s user 0,00s system 0%
> cpu 30,019 total

Does it behave better, if you apply

ssh -o ConnectTimeout=1 -o ControlPath=%C host.does.not.exist

>> Which ssh version do you run locally? Check with "ssh -V".
>
> % ssh -V                           
> OpenSSH_6.7p1, OpenSSL 1.0.2 22 Jan 2015

Yes, that's exactliy what Tramp tries to detect.

> Bye,
> Tassilo

Best regards, Michael.