Ubuntu 16.04 feedback dei caratteri ssh lento

4

Vedo un veeeeeerry feedback lento sui terminali ssh remoti su una nuova installazione di Ubuntu 16.04. Ad esempio, dopo aver digitato un carattere, potrebbero essere necessari 20-30 secondi prima che venga visualizzato nel terminale. L'accesso iniziale con password al server è veloce, solo la successiva immissione della tastiera è lenta. Altre applicazioni (mysql, nginx) mostrano buone prestazioni, quindi questo sembra avere effetto solo su ssh.

Il server si trova sulla rete locale e il client di ping-latenza client- & gt; server e server- & gt; varia tra 1ms e 300ms a seconda del traffico, quindi la latenza della rete non è la causa dei ritardi. Traceroute non mostra problemi.

Il server non è occupato e le sessioni locali hanno buone prestazioni, quindi le risorse del server non sono la causa dei ritardi.

Ho provato ad aggiungere voci ai file degli host sia sul client che sul server. Ho provato a passare il client da DHCP a IP / gateway / DNS statici. Ho provato con ssh -v (sotto) e anche ssh -C .

Sto cercando suggerimenti su come eseguire il debug di questo problema e riportare le prestazioni del terminale ssh a un livello utilizzabile. Qualsiasi suggerimento benvenuto.

Roberts-MacBook-Pro:~ regeier$ ping 192.168.1.111
PING 192.168.1.111 (192.168.1.111): 56 data bytes
64 bytes from 192.168.1.111: icmp_seq=0 ttl=64 time=2.565 ms
64 bytes from 192.168.1.111: icmp_seq=1 ttl=64 time=2.184 ms
64 bytes from 192.168.1.111: icmp_seq=2 ttl=64 time=2.259 ms
^C
--- 192.168.1.111 ping statistics ---
3 packets transmitted, 3 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 2.184/2.336/2.565/0.165 ms
Roberts-MacBook-Pro:~ regeier$ ssh -v [email protected]
OpenSSH_6.9p1, LibreSSL 2.1.8
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 21: Applying options for *
debug1: /etc/ssh/ssh_config line 56: Applying options for *
debug1: Connecting to 192.168.1.111 [192.168.1.111] port 22.
debug1: Connection established.
debug1: identity file /Users/regeier/.ssh/id_rsa type 1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/regeier/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/regeier/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/regeier/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/regeier/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/regeier/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/regeier/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/regeier/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.9
debug1: Remote protocol version 2.0, remote software version OpenSSH_7.2p2 Ubuntu-4ubuntu2.1
debug1: match: OpenSSH_7.2p2 Ubuntu-4ubuntu2.1 pat OpenSSH* compat 0x04000000
debug1: Authenticating to 192.168.1.111:22 as 'ubuntu'
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client [email protected] <implicit> none
debug1: kex: client->server [email protected] <implicit> none
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: ecdsa-sha2-nistp256 SHA256:2v5V8cSY2r2DLlfxdNJ6M1zw0yk467wLQiUof0/t1so
debug1: Host '192.168.1.111' is known and matches the ECDSA host key.
debug1: Found key in /Users/regeier/.ssh/known_hosts:4
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Offering RSA public key: /Users/regeier/.ssh/id_rsa
debug1: Authentications that can continue: publickey,password
debug1: Trying private key: /Users/regeier/.ssh/id_dsa
debug1: Trying private key: /Users/regeier/.ssh/id_ecdsa
debug1: Trying private key: /Users/regeier/.ssh/id_ed25519
debug1: Next authentication method: password
[email protected]'s password: 
debug1: Authentication succeeded (password).
Authenticated to 192.168.1.111 ([192.168.1.111]:22).
debug1: channel 0: new [client-session]
debug1: Requesting [email protected]
debug1: Entering interactive session.
debug1: client_input_global_request: rtype [email protected] want_reply 0
debug1: Sending environment.
debug1: Sending env LANG = en_AU.UTF-8
Welcome to Ubuntu 16.04.1 LTS (GNU/Linux 4.4.0-31-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

0 packages can be updated.
0 updates are security updates.


Last login: Fri Jan 27 20:47:02 2017 from 192.168.1.3
    
posta Robert 27.01.2017 - 13:37

0 risposte

Leggi altre domande sui tag