亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費(fèi)注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 1574 | 回復(fù): 7
打印 上一主題 下一主題

[系統(tǒng)管理] ssh登陸慢的問題 [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2015-10-12 11:08 |只看該作者 |倒序?yàn)g覽
兩臺虛擬機(jī),一臺redhat,一臺Debian ,從 redhat登陸到Debian(192.168.110.114)
  1. [root@compute3 ~]# cat /etc/redhat-release
  2. Red Hat Enterprise Linux Server release 7.1 (Maipo)
復(fù)制代碼
  1. vyatta@vyatta:~$ cat /proc/version
  2. Linux version 3.10.83-1-amd64-vyatta (abuild@build-worker3) (gcc version 4.4.5 (Debian 4.4.5-8) ) #1 SMP Wed Jul 8 03:22:17 UTC 2015
復(fù)制代碼
我 試過網(wǎng)上集中常見的對策,都沒有用,包括修改 /etc/hosts;UseDNS 的缺省值由yes修改為no;GSSAPIAuthentication設(shè)置成no

把以上的修改都做了,現(xiàn)在卡在 debug1: Local version string SSH-2.0-OpenSSH_6.6.1 和 debug1: Remote protocol version 2.0, remote software version OpenSSH_5.5p1 Debian-6+squeeze5 之間了,
就是顯示完Local version string SSH-2.0-OpenSSH_6.6.1要等好幾秒才顯示debug1: Remote protocol version 2.0, remote software version OpenSSH_5.5p1 Debian-6+squeeze5

整個ssh過程大約要個好幾秒才能出現(xiàn)輸入密碼的提示。
其他的從各個版本的redhat和各個版本的centos互相ssh登陸都是秒開,唯獨(dú)這兩個虛擬機(jī),難道是Debian系的和redhat之間的問題?搞不明白問題出在哪里了
  1. [root@compute3 ~]# ssh vyatta@192.168.110.114 -v
  2. OpenSSH_6.6.1, OpenSSL 1.0.1e-fips 11 Feb 2013
  3. debug1: Reading configuration data /etc/ssh/ssh_config
  4. debug1: /etc/ssh/ssh_config line 56: Applying options for *
  5. debug1: Connecting to 192.168.110.114 [192.168.110.114] port 22.
  6. debug1: Connection established.
  7. debug1: permanently_set_uid: 0/0
  8. debug1: identity file /root/.ssh/id_rsa type -1
  9. debug1: identity file /root/.ssh/id_rsa-cert type -1
  10. debug1: identity file /root/.ssh/id_dsa type -1
  11. debug1: identity file /root/.ssh/id_dsa-cert type -1
  12. debug1: identity file /root/.ssh/id_ecdsa type -1
  13. debug1: identity file /root/.ssh/id_ecdsa-cert type -1
  14. debug1: identity file /root/.ssh/id_ed25519 type -1
  15. debug1: identity file /root/.ssh/id_ed25519-cert type -1
  16. debug1: Enabling compatibility mode for protocol 2.0
  17. debug1: Local version string SSH-2.0-OpenSSH_6.6.1
  18. debug1: Remote protocol version 2.0, remote software version OpenSSH_5.5p1 Debian-6+squeeze5
  19. debug1: match: OpenSSH_5.5p1 Debian-6+squeeze5 pat OpenSSH_5* compat 0x0c000000
  20. debug1: SSH2_MSG_KEXINIT sent
  21. debug1: SSH2_MSG_KEXINIT received
  22. debug1: kex: server->client aes128-ctr hmac-md5 none
  23. debug1: kex: client->server aes128-ctr hmac-md5 none
  24. debug1: kex: diffie-hellman-group-exchange-sha256 need=16 dh_need=16
  25. debug1: kex: diffie-hellman-group-exchange-sha256 need=16 dh_need=16
  26. debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<3072<8192) sent
  27. debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
  28. debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
  29. debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
  30. debug1: Server host key: RSA 4c:04:55:7a:ab:86:a3:3f:1e:3f:1a:81:10:49:ed:11
  31. debug1: Host '192.168.110.114' is known and matches the RSA host key.
  32. debug1: Found key in /root/.ssh/known_hosts:30
  33. debug1: ssh_rsa_verify: signature correct
  34. debug1: SSH2_MSG_NEWKEYS sent
  35. debug1: expecting SSH2_MSG_NEWKEYS
  36. debug1: SSH2_MSG_NEWKEYS received
  37. debug1: Roaming not allowed by server
  38. debug1: SSH2_MSG_SERVICE_REQUEST sent
  39. debug1: SSH2_MSG_SERVICE_ACCEPT received
  40. Welcome to Vyatta
  41. debug1: Authentications that can continue: publickey,password
  42. debug1: Next authentication method: publickey
  43. debug1: Trying private key: /root/.ssh/id_rsa
  44. debug1: Trying private key: /root/.ssh/id_dsa
  45. debug1: Trying private key: /root/.ssh/id_ecdsa
  46. debug1: Trying private key: /root/.ssh/id_ed25519
  47. debug1: Next authentication method: password
  48. vyatta@192.168.110.114's password:
復(fù)制代碼

論壇徽章:
45
2016猴年福章徽章
日期:2016-02-18 16:42:24平安夜徽章
日期:2015-12-27 09:46:0315-16賽季CBA聯(lián)賽之八一
日期:2015-12-15 17:08:23黃金圣斗士
日期:2015-12-11 09:16:31天蝎座
日期:2015-12-11 09:16:22戌狗
日期:2015-12-11 09:16:19程序設(shè)計版塊每周發(fā)帖之星
日期:2015-12-11 09:15:21操作系統(tǒng)版塊每周發(fā)帖之星
日期:2015-12-11 09:15:16IT運(yùn)維版塊每周發(fā)帖之星
日期:2015-12-11 09:15:09IT運(yùn)維版塊每月發(fā)帖之星
日期:2015-12-11 09:15:01CU十四周年紀(jì)念徽章
日期:2015-12-11 09:14:40操作系統(tǒng)版塊每日發(fā)帖之星
日期:2015-12-11 09:13:36
2 [報告]
發(fā)表于 2015-10-12 11:24 |只看該作者
1.遠(yuǎn)程登錄使用root用戶試試
2.統(tǒng)一兩臺服務(wù)器openssh版本試試

論壇徽章:
0
3 [報告]
發(fā)表于 2015-10-12 11:36 |只看該作者
不錯的啊。。

求職 : Linux運(yùn)維
論壇徽章:
203
拜羊年徽章
日期:2015-03-03 16:15:432015年辭舊歲徽章
日期:2015-03-03 16:54:152015年迎新春徽章
日期:2015-03-04 09:57:092015小元宵徽章
日期:2015-03-06 15:58:182015年亞洲杯之約旦
日期:2015-04-05 20:08:292015年亞洲杯之澳大利亞
日期:2015-04-09 09:25:552015年亞洲杯之約旦
日期:2015-04-10 17:34:102015年亞洲杯之巴勒斯坦
日期:2015-04-10 17:35:342015年亞洲杯之日本
日期:2015-04-16 16:28:552015年亞洲杯紀(jì)念徽章
日期:2015-04-27 23:29:17操作系統(tǒng)版塊每日發(fā)帖之星
日期:2015-06-06 22:20:00操作系統(tǒng)版塊每日發(fā)帖之星
日期:2015-06-09 22:20:00
4 [報告]
發(fā)表于 2015-10-12 21:44 |只看該作者
試試 ssh -l root  192.168.1.2

論壇徽章:
0
5 [報告]
發(fā)表于 2015-10-16 08:51 |只看該作者
沒法子
去 mirror.vyos.net/iso/release/1.1.6
重下了個鏡像,openstack生成實(shí)例后,重新配網(wǎng)絡(luò),一切ok,ssh秒開了
對比新舊虛擬機(jī)的ssh -v log,一模一樣

左邊是新的ssh秒開,右邊會卡個幾秒

不知道原因,感覺靠ssh -v的信息也查不出來是具體原因

論壇徽章:
1
操作系統(tǒng)版塊每日發(fā)帖之星
日期:2016-02-18 06:20:00
6 [報告]
發(fā)表于 2015-10-20 10:45 |只看該作者
看看DNS設(shè)置文件 /etc/resolve.conf

論壇徽章:
381
CU十二周年紀(jì)念徽章
日期:2014-01-04 22:46:58CU大;照
日期:2013-03-13 15:32:35CU大牛徽章
日期:2013-03-13 15:38:15CU大;照
日期:2013-03-13 15:38:52CU大;照
日期:2013-03-14 14:08:55CU大;照
日期:2013-04-17 11:17:19CU大牛徽章
日期:2013-04-17 11:17:32CU大;照
日期:2013-04-17 11:17:37CU大牛徽章
日期:2013-04-17 11:17:42CU大;照
日期:2013-04-17 11:17:47CU大牛徽章
日期:2013-04-17 11:17:52CU大;照
日期:2013-04-17 11:17:56
7 [報告]
發(fā)表于 2015-10-26 09:24 |只看該作者
本帖最后由 chenyx 于 2015-10-26 09:25 編輯

修改服務(wù)器的sshd_config,將UseDNS修改為no,然后重啟ssh服務(wù)看看

論壇徽章:
0
8 [報告]
發(fā)表于 2015-10-26 23:01 |只看該作者
回復(fù) 7# chenyx


   不行啊,這招試過了
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報專區(qū)
中國互聯(lián)網(wǎng)協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP