On 2014-04-09 16:47, Brad Allison wrote: > Why is macports ssh 4 seconds slower than osx built in ssh when using > gss-api? > > brad-allison-pro:~ brad.allison$ time /opt/local/bin/ssh -2 -v -l root > m2inf-kerberostest-01 date > /tmp/kerbtest-ssh-macports.txt 2>&1 > > real 0m20.890s > user 0m0.007s > sys 0m0.008s > > > brad-allison-pro:~ brad.allison$ time /usr/bin/ssh -2 -v -l root > m2inf-kerberostest-01 date > /tmp/kerbtest-ssh-osx.txt 2>&1 > > real 0m15.894s > user 0m0.011s > sys 0m0.008s
It's really hard to tell where the additional time is spent without doing full profiling of the processes. Maybe the implementation in kerberos5 used by the openssh port is just slower than Heimdal used by the system openssh? Could also be that the MacPorts version makes more attempts to verify different host keys (for example supporting ECDSA) and that adds additional filesystem lookups and round trip times. Rainer _______________________________________________ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users