Gentoo Archives: gentoo-user

From: "Stefan G. Weichinger" <lists@×××××.at>
To: gentoo-user@l.g.o
Subject: [gentoo-user] ssh rekeying slow ?
Date: Wed, 25 Jun 2014 10:19:04
Message-Id: 53AAA209.1000900@xunil.at
1 When I ssh into a server in my basement, this takes way more time than
2 usual.
3
4 I don't have a clue what might have changed ... aside from usual
5 updating. I rebuilt and restarted openssh down there without a change.
6
7 This is a bit annoying when logging in and using git to pull/push stuff
8 from/to there.
9
10 Does anyone have an idea what I could do to fix that?
11
12 Stefan
13
14 demo ->
15
16 $ ssh -v root@mythtv
17
18 OpenSSH_6.6.1, OpenSSL 1.0.1h 5 Jun 2014
19 debug1: Reading configuration data /home/sgw/.ssh/config
20 debug1: /home/sgw/.ssh/config line 33: Applying options for mythtv
21 debug1: Reading configuration data /etc/ssh/ssh_config
22 debug1: Connecting to mythtv [2001:15c0:65ff:8742:219:99ff:fee8:2343]
23 port 22.
24 debug1: fd 3 clearing O_NONBLOCK
25 debug1: Connection established.
26 debug1: identity file /home/sgw/.ssh/id_rsa type 1
27 debug1: identity file /home/sgw/.ssh/id_rsa-cert type -1
28 debug1: identity file /home/sgw/.ssh/id_dsa type -1
29 debug1: identity file /home/sgw/.ssh/id_dsa-cert type -1
30 debug1: identity file /home/sgw/.ssh/id_ecdsa type -1
31 debug1: identity file /home/sgw/.ssh/id_ecdsa-cert type -1
32 debug1: identity file /home/sgw/.ssh/id_ed25519 type -1
33 debug1: identity file /home/sgw/.ssh/id_ed25519-cert type -1
34 debug1: Enabling compatibility mode for protocol 2.0
35 debug1: Local version string SSH-2.0-OpenSSH_6.6.1p1-hpn14v4
36 debug1: Remote protocol version 2.0, remote software version
37 OpenSSH_6.6p1-hpn14v4
38 debug1: match: OpenSSH_6.6p1-hpn14v4 pat OpenSSH_6.5*,OpenSSH_6.6*
39 compat 0x14000000
40 debug1: SSH2_MSG_KEXINIT sent
41 debug1: SSH2_MSG_KEXINIT received
42 debug1: AUTH STATE IS 0
43 debug1: REQUESTED ENC.NAME is 'aes128-ctr'
44 debug1: kex: server->client aes128-ctr hmac-md5-etm@×××××××.com none
45 debug1: REQUESTED ENC.NAME is 'aes128-ctr'
46 debug1: kex: client->server aes128-ctr hmac-md5-etm@×××××××.com none
47 debug1: sending SSH2_MSG_KEX_ECDH_INIT
48 debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
49 debug1: Server host key: ECDSA
50 07:f3:16:2b:e9:64:87:fa:df:14:70:dc:03:60:5a:3c
51 debug1: Host 'mythtv' is known and matches the ECDSA host key.
52 debug1: Found key in /home/sgw/.ssh/known_hosts:168
53 debug1: ssh_ecdsa_verify: signature correct
54 debug1: SSH2_MSG_NEWKEYS sent
55 debug1: expecting SSH2_MSG_NEWKEYS
56 debug1: SSH2_MSG_NEWKEYS received
57 debug1: Roaming not allowed by server
58 debug1: SSH2_MSG_SERVICE_REQUEST sent
59 debug1: SSH2_MSG_SERVICE_ACCEPT received
60 debug1: Authentications that can continue: publickey,keyboard-interactive
61 debug1: Next authentication method: publickey
62 debug1: Offering RSA public key: /home/sgw/.ssh/id_rsa
63 debug1: Server accepts key: pkalg ssh-rsa blen 277
64 debug1: Single to Multithread CTR cipher swap - client request
65 debug1: Authentication succeeded (publickey).
66 Authenticated to mythtv ([2001:15c0:65ff:8742:219:99ff:fee8:2343]:22).
67 debug1: HPN to Non-HPN Connection
68 debug1: Final hpn_buffer_size = 2097152
69 debug1: HPN Disabled: 0, HPN Buffer Size: 2097152
70 debug1: channel 0: new [client-session]
71 debug1: Enabled Dynamic Window Scaling
72 debug1: Requesting no-more-sessions@×××××××.com
73 debug1: Entering interactive session.
74 debug1: need rekeying
75 debug1: SSH2_MSG_KEXINIT sent
76 debug1: rekeying in progress
77 debug1: rekeying in progress
78 debug1: rekeying in progress
79 debug1: rekeying in progress
80 debug1: enqueue packet: 80
81 debug1: rekeying in progress
82 debug1: SSH2_MSG_KEXINIT received
83 debug1: AUTH STATE IS 1
84 debug1: REQUESTED ENC.NAME is 'aes128-ctr'
85 debug1: kex: server->client aes128-ctr hmac-md5-etm@×××××××.com none
86 debug1: REQUESTED ENC.NAME is 'aes128-ctr'
87 debug1: kex: client->server aes128-ctr hmac-md5-etm@×××××××.com none
88 debug1: sending SSH2_MSG_KEX_ECDH_INIT
89 debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
90 debug1: Server host key: ECDSA
91 07:f3:16:2b:e9:64:87:fa:df:14:70:dc:03:60:5a:3c
92 debug1: Host 'mythtv' is known and matches the ECDSA host key.
93 debug1: Found key in /home/sgw/.ssh/known_hosts:168
94 debug1: ssh_ecdsa_verify: signature correct
95 debug1: set_newkeys: rekeying
96 debug1: spawned a thread
97 debug1: spawned a thread
98 debug1: dequeue packet: 80
99 debug1: SSH2_MSG_NEWKEYS sent
100 debug1: expecting SSH2_MSG_NEWKEYS
101 debug1: set_newkeys: rekeying
102 debug1: spawned a thread
103 debug1: spawned a thread
104 debug1: SSH2_MSG_NEWKEYS received
105 debug1: Sending environment.
106 debug1: Sending env LANG = de_DE.UTF-8

Replies

Subject Author
[gentoo-user] Re: ssh rekeying slow ? James <wireless@×××××××××××.com>
Re: [gentoo-user] ssh rekeying slow ? Dale <rdalek1967@×××××.com>