my ssh too slow ...
my version is :
~ # eix -e openssh
net-misc/openssh
Available versions: 7.1_p1-r2 7.1_p1-r3 7.1_p2 ~7.1_p2-r1 ~7.2_p1 7.2_p2 {X X509 bindist debug (+)hpn kerberos ldap ldns libedit libressl pam +pie sctp selinux skey ssh1 +ssl static KERNEL="linux"}
Installed versions: 7.2_p2(12:51:52 25/05/2016)(X bindist ldap pam pie ssl -X509 -debug -hpn -kerberos -ldns -libedit -libressl -sctp -selinux -skey -ssh1 -static KERNEL="linux")
Homepage: http://www.openssh.org/
Description: Port of OpenBSD's free SSH release
I tried old version but the same.
I don't have mount nfs or samba
~ # df -aH
File system Dim. Usati Dispon. Uso% Montato su
rootfs - - - - /
proc 0 0 0 - /proc
udev 11M 4,1k 11M 1% /dev
devpts 0 0 0 - /dev/pts
sysfs 0 0 0 - /sys
/dev/sdb5 317G 159G 143G 53% /
tmpfs 2,7G 1,6M 2,7G 1% /run
mqueue 0 0 0 - /dev/mqueue
shm 14G 54k 14G 1% /dev/shm
configfs 0 0 0 - /sys/kernel/config
fusectl 0 0 0 - /sys/fs/fuse/connections
cgroup_root 11M 0 11M 0% /sys/fs/cgroup
openrc 0 0 0 - /sys/fs/cgroup/openrc
cpuset 0 0 0 - /sys/fs/cgroup/cpuset
cpuacct 0 0 0 - /sys/fs/cgroup/cpuacct
/dev/sdb6 53G 75M 50G 1% /tmp
/dev/sdb7 53G 12G 39G 24% /var
/dev/sdb9 1,6T 1,3T 207G 87% /home
binfmt_misc 0 0 0 - /proc/sys/fs/binfmt_misc
rpc_pipefs 0 0 0 - /var/lib/nfs/rpc_pipefs
nfsd 0 0 0 - /proc/fs/nfsd
house ~ #
Is not a DNS problem if I am in my computer where is the problem :
I put "UseDNS No"
or
~ $ time ssh localhost id -u
The authenticity of host 'localhost (::1)' can't be established.
ED25519 key fingerprint is
SHA256:mv689l6snBLmlum+rFKqJkTZ7BXWOsz36Jkn8CEdcx4.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'localhost' (ED25519) to the list of known
hosts.
Password:
Warning: untrusted X11 forwarding setup failed: xauth key data not
generated
2000
real 0m43.806s
user 0m0.020s
sys 0m0.000s
~ $
I tried :
ssh -vvv house :
...
Password:
debug3: packet_send2: adding 16 (len 36 padlen 12 extra_pad 64)
debug2: input_userauth_info_req
debug2: input_userauth_info_req: num_prompts 0
debug3: packet_send2: adding 48 (len 6 padlen 10 extra_pad 64)
debug1: Authentication succeeded (keyboard-interactive).
Authenticated to house ([10.10.1.2]:22).
debug1: channel 0: new [client-session]
debug3: ssh_session2_open: channel_new: 0
debug2: channel 0: send open
debug1: Requesting no-more-sessions@openssh.com
debug1: Entering interactive session.
block here :
debug1: client_input_global_request: rtype hostkeys-00@openssh.com
want_reply 0
debug2: callback start
debug2: fd 3 setting TCP_NODELAY
debug3: packet_set_tos: set IP_TOS 0x10
debug2: client_session2_setup: id 0
I tried do :]
strace -f -o a.log -tt -T ssh -v house id -u
...
26482 16:45:11.931670 write(2, "debug1: Entering interactive ses"...,
39) = 39 <0.000024>
26482 16:45:11.931761 rt_sigaction(SIGHUP, NULL, {SIG_DFL, [],
SA_RESTORER, 0x7f3dd1311d40},
26482 16:45:11.931880 rt_sigaction(SIGHUP, {SIG_IGN, [], SA_RESTORER,
0x7f3dd1311d40}, NULL,
26482 16:45:11.932199 rt_sigaction(SIGHUP, NULL, {SIG_IGN, [],
SA_RESTORER, 0x7f3dd1311d40},
26482 16:45:11.932287 rt_sigaction(SIGHUP, {0x7f3dd2754940, [],
SA_RESTORER, 0x7f3dd1311d40}, NULL,
26482 16:45:11.932365 rt_sigaction(SIGINT, NULL, {SIG_DFL, [],
SA_RESTORER, 0x7f3dd1311d40},
26482 16:45:11.932442 rt_sigaction(SIGINT, {SIG_IGN, [], SA_RESTORER,
0x7f3dd1311d40}, NULL,
26482 16:45:11.932520 rt_sigaction(SIGINT, NULL, {SIG_IGN, [],
SA_RESTORER, 0x7f3dd1311d40},
26482 16:45:11.932596 rt_sigaction(SIGINT, {0x7f3dd2754940, [],
SA_RESTORER, 0x7f3dd1311d40}, NULL,
26482 16:45:11.932674 rt_sigaction(SIGQUIT, NULL, {SIG_DFL, [],
SA_RESTORER, 0x7f3dd1311d40},
26482 16:45:11.932750 rt_sigaction(SIGQUIT, {SIG_IGN, [], SA_RESTORER,
0x7f3dd1311d40}, NULL,
26482 16:45:11.932826 rt_sigaction(SIGQUIT, NULL, {SIG_IGN, [],
SA_RESTORER, 0x7f3dd1311d40},
26482 16:45:11.932902 rt_sigaction(SIGQUIT, {0x7f3dd2754940, [],
SA_RESTORER, 0x7f3dd1311d40}, NULL,
26482 16:45:11.932999 rt_sigaction(SIGTERM, NULL, {SIG_DFL, [],
SA_RESTORER, 0x7f3dd1311d40},
26482 16:45:11.933056 rt_sigaction(SIGTERM, {SIG_IGN, [], SA_RESTORER,
0x7f3dd1311d40}, NULL,
26482 16:45:11.933088 rt_sigaction(SIGTERM, NULL, {SIG_IGN, [],
SA_RESTORER, 0x7f3dd1311d40},
26482 16:45:11.933116 rt_sigaction(SIGTERM, {0x7f3dd2754940, [],
SA_RESTORER, 0x7f3dd1311d40}, NULL,
26482 16:45:11.933144 rt_sigaction(SIGWINCH, NULL, {SIG_DFL, [], 0},
26482 16:45:11.933172 rt_sigaction(SIGWINCH, {0x7f3dd2754bc0, [],
SA_RESTORER, 0x7f3dd1311d40}, NULL,
26482 16:45:11.933206 select(7, [3], [3], NULL, NULL) = 1 (out [3])
<0.000008>
26482 16:45:11.933243 write(3, "\0\0\0 q.\343\347\322\302t\302\32%\350
\240\364\t<\253Vz\231\235\32\305\363\30\365\30\222"..., 128) = 128
<0.000018>
26482 16:45:11.933287 select(7, [3], [], NULL, NULL) = 1 (in [3])
<25.029930>
26482 16:45:36.963300 read(3,
"\0\0\0030\212\r\177\370\21\273\340\355q_\220\3360\16\rX\203\374%\16\204\314<\363wk\257\264"...,
8192) = 840 <0.000011>
26482 16:45:36.963380 write(2, "debug1: client_input_global_requ"...,
81) = 81 <0.000013>
26482 16:45:36.963419 select(7, [3], [], NULL, NULL) = 1 (in [3])
<0.039314>
26482 16:45:37.002862 read(3, "\0\0\0
\262;mI\267;\325J\222f\323\31\247\241\307\0{\303\232\0001\366\273\377\17]\35?"...,
8192) = 56 <0.000048>
26482 16:45:37.003056 getsockopt(3, SOL_TCP, TCP_NODELAY, [0], [4]) =
0 <0.000038>
..
I think it's happened since the last update
Ihave no idea !!!




