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

From: Tassilo Horn <[email-masked]>
Date: Fri, 06 Mar 2015 13:39:47 +0100

Michael Albinus <[email-masked]> writes:

> 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

No, that doesn't seem to have an effect.

--8<---------------cut here---------------start------------->8---
% ssh -vvv -o ConnectTimeout=0 -o ControlPath=%C host.does.not.exist
OpenSSH_6.7p1, OpenSSL 1.0.2 22 Jan 2015
debug1: Reading configuration data /home/horn/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: auto-mux: Trying existing master
debug1: Control socket "89ac5542788054b0379ade9250bf39d75698ff8a" does not exist
# HERE IT HANGS again for 30 seconds
ssh: Could not resolve hostname host.does.not.exist: Name or service not known
--8<---------------cut here---------------end--------------->8---

Bye,
Tassilo