1
402124773 2016-04-23 11:29:37 +08:00
之前到网上看到过一个相关的问题分析,最后的原因好像是 DNS 网络的原因导致的,时间长了也不记得哪里看到的了
|
2
Septembers 2016-04-23 11:30:33 +08:00
see http://www.cnblogs.com/ggjucheng/p/3348499.html
主要原因是 GSSAPI 导致 |
3
xuboying OP @Septembers 不是这个问题,慢是密码输入以后
|
4
ETiV 2016-04-23 14:47:19 +08:00 via iPhone
sshd_config 里加个 UseDNS no 再重启 ssh 看看?
|
6
neilp 2016-04-23 15:46:50 +08:00
应该是 dns 的问题。 先检查一下 服务器上那个的能正常解析域名吗. 我也遇到过
|
7
Tink 2016-04-23 15:51:56 +08:00 via iPhone
我跟你一样
|
8
jackroyal 2016-04-23 16:03:00 +08:00
|
10
Tink 2016-04-23 16:15:54 +08:00 via iPhone
应该是 dns ,我把服务器 ip 加到 hosts 里之后快多了
|
11
akira 2016-04-23 16:17:31 +08:00
域名反向解析的原因吧
|
12
xuboying OP @402124773 @ETiV @Septembers @Tink @jackroyal @neilp
解决了,是 mot 的原因,和 dns 关系不是太大 https://askubuntu.com/questions/23246/how-do-i-edit-the-ssh-motd 全部禁用以后就快了,缺点是没 ssh 后没信息了 qqqqqqq@ubuntu:/etc/update-motd.d$ time /usr/bin/landscape-sysinfo System load: 0.32 Processes: 101 Usage of /: 10.0% of 16.86GB Users logged in: 1 Memory usage: 61% IP address for eth0: 192.168xxxxx Swap usage: 0% Graph this data and manage this system at: https://landscape.canonical.com/ real 0m2.329s user 0m1.844s sys 0m0.480s qqqqqq@ubuntu:/etc/update-motd.d$ find . ./disable ./disable/50-landscape-sysinfo ./disable/90-updates-available ./disable/91-release-upgrade ./disable/98-reboot-required ./disable/10-help-text ./disable/98-fsck-at-reboot ./disable/00-header |
13
whatisnew 2016-04-23 17:38:20 +08:00
如果不装 `ubuntu standard system utilities` 就没事
|