From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 9A17813877A for ; Wed, 25 Jun 2014 10:19:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9FAFFE08CE; Wed, 25 Jun 2014 10:18:57 +0000 (UTC) Received: from postler.lichtfels.com (postler.lichtfels.com [78.46.92.195]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 76D36E08B2 for ; Wed, 25 Jun 2014 10:18:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by postler.lichtfels.com (Postfix) with ESMTP id 2592D110E2 for ; Wed, 25 Jun 2014 12:18:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xunil.at; s=mailout; t=1403691534; bh=/FCFnFZTG+muob4uHEvqKGeaZ5Ai6lzwiHAqWiH78hA=; h=Date:From:Reply-To:To:Subject; b=eL7gtJedYmHLrs4yeV6pWMe4H/osFe6Of7tkxPxPJUjXRUxOELMWKghlb/prFmqEE zep5MuxQWuACWOUYUGLwVVXmW3+tn4Y7ejddAQ/pqg8LCeM++9OG5QpL4QzZ+SfCxB /eybH9R/1K2HFGzPiIHd1LCoKh9tsyEvRlFusv5k= Received: from postler.lichtfels.com ([127.0.0.1]) by localhost (postler.lichtfels.com [127.0.0.1]) (amavisd-maia, port 10024) with LMTP id 01444-10 for ; Wed, 25 Jun 2014 12:18:50 +0200 (CEST) Received: from hiro.oops.intern (unknown [IPv6:2001:15c0:65ff:8742:499c:ad68:ac59:4698]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by postler.lichtfels.com (Postfix) with ESMTPSA id 9E124110EF for ; Wed, 25 Jun 2014 12:18:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xunil.at; s=mailout; t=1403691530; bh=/FCFnFZTG+muob4uHEvqKGeaZ5Ai6lzwiHAqWiH78hA=; h=Date:From:Reply-To:To:Subject; b=JeuToL1fSSpC9M4xZB65SqRky/VnhePqIiD43LeN0bJ6+VbNw0zm0ICDXSln5S5l5 ugcTG815GccvYGIPIFTpnsmWduAI3wB09N1fUEQ+w3W0vwLHRlYUqrcBXErRBJ1/Gd n+teJef+vaKHBY4/H2oTWVZUbEfkXzLAzZMP4QaY= Message-ID: <53AAA209.1000900@xunil.at> Date: Wed, 25 Jun 2014 12:18:49 +0200 From: "Stefan G. Weichinger" Organization: oops! User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] ssh rekeying slow ? X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.2c X-Archives-Salt: eff2bcfe-b9c4-4b41-a590-79fcd8b1842f X-Archives-Hash: 9ec51e3f9ff920359b1a95829a94be1a When I ssh into a server in my basement, this takes way more time than usual. I don't have a clue what might have changed ... aside from usual updating. I rebuilt and restarted openssh down there without a change. This is a bit annoying when logging in and using git to pull/push stuff from/to there. Does anyone have an idea what I could do to fix that? Stefan demo -> $ ssh -v root@mythtv OpenSSH_6.6.1, OpenSSL 1.0.1h 5 Jun 2014 debug1: Reading configuration data /home/sgw/.ssh/config debug1: /home/sgw/.ssh/config line 33: Applying options for mythtv debug1: Reading configuration data /etc/ssh/ssh_config debug1: Connecting to mythtv [2001:15c0:65ff:8742:219:99ff:fee8:2343] port 22. debug1: fd 3 clearing O_NONBLOCK debug1: Connection established. debug1: identity file /home/sgw/.ssh/id_rsa type 1 debug1: identity file /home/sgw/.ssh/id_rsa-cert type -1 debug1: identity file /home/sgw/.ssh/id_dsa type -1 debug1: identity file /home/sgw/.ssh/id_dsa-cert type -1 debug1: identity file /home/sgw/.ssh/id_ecdsa type -1 debug1: identity file /home/sgw/.ssh/id_ecdsa-cert type -1 debug1: identity file /home/sgw/.ssh/id_ed25519 type -1 debug1: identity file /home/sgw/.ssh/id_ed25519-cert type -1 debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_6.6.1p1-hpn14v4 debug1: Remote protocol version 2.0, remote software version OpenSSH_6.6p1-hpn14v4 debug1: match: OpenSSH_6.6p1-hpn14v4 pat OpenSSH_6.5*,OpenSSH_6.6* compat 0x14000000 debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: AUTH STATE IS 0 debug1: REQUESTED ENC.NAME is 'aes128-ctr' debug1: kex: server->client aes128-ctr hmac-md5-etm@openssh.com none debug1: REQUESTED ENC.NAME is 'aes128-ctr' debug1: kex: client->server aes128-ctr hmac-md5-etm@openssh.com none debug1: sending SSH2_MSG_KEX_ECDH_INIT debug1: expecting SSH2_MSG_KEX_ECDH_REPLY debug1: Server host key: ECDSA 07:f3:16:2b:e9:64:87:fa:df:14:70:dc:03:60:5a:3c debug1: Host 'mythtv' is known and matches the ECDSA host key. debug1: Found key in /home/sgw/.ssh/known_hosts:168 debug1: ssh_ecdsa_verify: signature correct debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: SSH2_MSG_NEWKEYS received debug1: Roaming not allowed by server debug1: SSH2_MSG_SERVICE_REQUEST sent debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: publickey,keyboard-interactive debug1: Next authentication method: publickey debug1: Offering RSA public key: /home/sgw/.ssh/id_rsa debug1: Server accepts key: pkalg ssh-rsa blen 277 debug1: Single to Multithread CTR cipher swap - client request debug1: Authentication succeeded (publickey). Authenticated to mythtv ([2001:15c0:65ff:8742:219:99ff:fee8:2343]:22). debug1: HPN to Non-HPN Connection debug1: Final hpn_buffer_size = 2097152 debug1: HPN Disabled: 0, HPN Buffer Size: 2097152 debug1: channel 0: new [client-session] debug1: Enabled Dynamic Window Scaling debug1: Requesting no-more-sessions@openssh.com debug1: Entering interactive session. debug1: need rekeying debug1: SSH2_MSG_KEXINIT sent debug1: rekeying in progress debug1: rekeying in progress debug1: rekeying in progress debug1: rekeying in progress debug1: enqueue packet: 80 debug1: rekeying in progress debug1: SSH2_MSG_KEXINIT received debug1: AUTH STATE IS 1 debug1: REQUESTED ENC.NAME is 'aes128-ctr' debug1: kex: server->client aes128-ctr hmac-md5-etm@openssh.com none debug1: REQUESTED ENC.NAME is 'aes128-ctr' debug1: kex: client->server aes128-ctr hmac-md5-etm@openssh.com none debug1: sending SSH2_MSG_KEX_ECDH_INIT debug1: expecting SSH2_MSG_KEX_ECDH_REPLY debug1: Server host key: ECDSA 07:f3:16:2b:e9:64:87:fa:df:14:70:dc:03:60:5a:3c debug1: Host 'mythtv' is known and matches the ECDSA host key. debug1: Found key in /home/sgw/.ssh/known_hosts:168 debug1: ssh_ecdsa_verify: signature correct debug1: set_newkeys: rekeying debug1: spawned a thread debug1: spawned a thread debug1: dequeue packet: 80 debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: set_newkeys: rekeying debug1: spawned a thread debug1: spawned a thread debug1: SSH2_MSG_NEWKEYS received debug1: Sending environment. debug1: Sending env LANG = de_DE.UTF-8