欧美阿v视频在线大全_亚洲欧美中文日韩V在线观看_www性欧美日韩欧美91_亚洲欧美日韩久久精品

主頁(yè) > 知識(shí)庫(kù) > Linux SSH登錄很慢的解決方法

Linux SSH登錄很慢的解決方法

熱門(mén)標(biāo)簽:淘寶系統(tǒng)退貨外呼項(xiàng)目考試答案 2020電銷(xiāo)機(jī)器人排行 廳外呼梯系統(tǒng)布線(xiàn) 貴陽(yáng)語(yǔ)音電銷(xiāo)機(jī)器人招商 焦作人工智能電話(huà)機(jī)器人軟件 鹽城客服外呼系統(tǒng)軟件 北京市地圖標(biāo)注 百度地圖標(biāo)注陰影動(dòng)態(tài) 鄭州營(yíng)銷(xiāo)外呼系統(tǒng)運(yùn)營(yíng)商

使用ssh客戶(hù)端(如:putty)連接Linux服務(wù)器,可能會(huì)等待10-30秒才有提示輸入密碼。嚴(yán)重影響工作效率。登錄很慢,登錄上去后速度正常,這種情況主要有兩種可能的原因:

1. DNS反向解析問(wèn)題

OpenSSH在用戶(hù)登錄的時(shí)候會(huì)驗(yàn)證IP,它根據(jù)用戶(hù)的IP使用反向DNS找到主機(jī)名,再使用DNS找到IP地址,最后匹配一下登錄的IP是否合法。如果客戶(hù)機(jī)的IP沒(méi)有域名,或者DNS服務(wù)器很慢或不通,那么登錄就會(huì)很花時(shí)間。

解決辦法:

在目標(biāo)服務(wù)器上修改sshd服務(wù)器端配置,并重啟sshd

復(fù)制代碼
代碼如下:

vi /etc/ssh/sshd_config
UseDNS no

2. 關(guān)閉ssh的gssapi認(rèn)證

用ssh -v user@server 可以看到登錄時(shí)有如下信息:

復(fù)制代碼
代碼如下:

debug1: Next authentication method: gssapi-with-mic
debug1: Unspecified GSS failure. Minor code may provide more information

注:ssh -vvv user@server 可以看到更細(xì)的debug信息

解決辦法:

修改sshd服務(wù)器端配置

復(fù)制代碼
代碼如下:

vi /etc/ssh/ssh_config
GSSAPIAuthentication no

可以使用ssh -o GSSAPIAuthentication=no user@server登錄

GSSAPI ( Generic Security Services Application Programming Interface) 是一套類(lèi)似Kerberos 5的通用網(wǎng)絡(luò)安全系統(tǒng)接口。該接口是對(duì)各種不同的客戶(hù)端服務(wù)器安全機(jī)制的封裝,以消除安全接口的不同,降低編程難度。但該接口在目標(biāo)機(jī)器無(wú)域名解析時(shí)會(huì)有問(wèn)題

使用strace查看后發(fā)現(xiàn),ssh在驗(yàn)證完key之后,進(jìn)行authentication gssapi-with-mic,此時(shí)先去連接DNS服務(wù)器,在這之后會(huì)進(jìn)行其他操作

復(fù)制代碼
代碼如下:

[root@192-168-3-40 ~]# ssh -vvv root@192.168.3.44
OpenSSH_5.3p1, OpenSSL 1.0.1e-fips 11 Feb 2013
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to 192.168.3.44 [192.168.3.44] port 22.
debug1: Connection established.
debug1: permanently_set_uid: 0/0
debug1: identity file /root/.ssh/identity type -1
debug1: identity file /root/.ssh/identity-cert type -1
debug1: identity file /root/.ssh/id_rsa type -1
debug1: identity file /root/.ssh/id_rsa-cert type -1
debug1: identity file /root/.ssh/id_dsa type -1
debug1: identity file /root/.ssh/id_dsa-cert type -1
debug1: identity file /root/.ssh/id_ecdsa type -1
debug1: identity file /root/.ssh/id_ecdsa-cert type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.3
debug1: match: OpenSSH_5.3 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.3
debug2: fd 3 setting O_NONBLOCK
debug1: SSH2_MSG_KEXINIT sent
debug3: Wrote 960 bytes for a total of 981
debug1: SSH2_MSG_KEXINIT received
debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa-cert-v01@openssh.com,ssh-dss-cert-v01@openssh.com,ssh-rsa-cert-v00@openssh.com,ssh-dss-cert-v00@openssh.com,ssh-rsa,ssh-dss
debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib
debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit: first_kex_follows 0
debug2: kex_parse_kexinit: reserved 0
debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none,zlib@openssh.com
debug2: kex_parse_kexinit: none,zlib@openssh.com
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit: first_kex_follows 0
debug2: kex_parse_kexinit: reserved 0
debug2: mac_setup: found hmac-md5
debug1: kex: server->client aes128-ctr hmac-md5 none
debug2: mac_setup: found hmac-md5
debug1: kex: client->server aes128-ctr hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(102410248192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug3: Wrote 24 bytes for a total of 1005
debug2: dh_gen_key: priv key bits set: 120/256
debug2: bits set: 506/1024
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug3: Wrote 144 bytes for a total of 1149
debug3: check_host_in_hostfile: host 192.168.3.44 filename /root/.ssh/known_hosts
debug3: check_host_in_hostfile: host 192.168.3.44 filename /root/.ssh/known_hosts
debug3: check_host_in_hostfile: match line 8
debug1: Host '192.168.3.44' is known and matches the RSA host key.
debug1: Found key in /root/.ssh/known_hosts:8
debug2: bits set: 527/1024
debug1: ssh_rsa_verify: signature correct
debug2: kex_derive_keys
debug2: set_newkeys: mode 1
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug3: Wrote 16 bytes for a total of 1165
debug2: set_newkeys: mode 0
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug3: Wrote 48 bytes for a total of 1213
debug2: service_accept: ssh-userauth
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug2: key: /root/.ssh/identity ((nil))
debug2: key: /root/.ssh/id_rsa ((nil))
debug2: key: /root/.ssh/id_dsa ((nil))
debug2: key: /root/.ssh/id_ecdsa ((nil))
debug3: Wrote 64 bytes for a total of 1277
debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password
debug3: start over, passed a different list publickey,gssapi-keyex,gssapi-with-mic,password
debug3: preferred gssapi-keyex,gssapi-with-mic,publickey,keyboard-interactive,password
debug3: authmethod_lookup gssapi-keyex
debug3: remaining preferred: gssapi-with-mic,publickey,keyboard-interactive,password
debug3: authmethod_is_enabled gssapi-keyex
debug1: Next authentication method: gssapi-keyex
debug1: No valid Key exchange context
debug2: we did not send a packet, disable method
debug3: authmethod_lookup gssapi-with-mic
debug3: remaining preferred: publickey,keyboard-interactive,password
debug3: authmethod_is_enabled gssapi-with-mic
debug1: Next authentication method: gssapi-with-mic
debug3: Trying to reverse map address 192.168.3.44.
debug1: Unspecified GSS failure. Minor code may provide more information
Cannot determine realm for numeric host address/p> p>debug1: Unspecified GSS failure. Minor code may provide more information
Cannot determine realm for numeric host address/p> p>debug1: Unspecified GSS failure. Minor code may provide more information/p> p>
debug1: Unspecified GSS failure. Minor code may provide more information
Cannot determine realm for numeric host address/p> p>debug2: we did not send a packet, disable method
debug3: authmethod_lookup publickey
debug3: remaining preferred: keyboard-interactive,password
debug3: authmethod_is_enabled publickey
debug1: Next authentication method: publickey
debug1: Trying private key: /root/.ssh/identity
debug3: no such identity: /root/.ssh/identity
debug1: Trying private key: /root/.ssh/id_rsa
debug3: no such identity: /root/.ssh/id_rsa
debug1: Trying private key: /root/.ssh/id_dsa
debug3: no such identity: /root/.ssh/id_dsa
debug1: Trying private key: /root/.ssh/id_ecdsa
debug3: no such identity: /root/.ssh/id_ecdsa
debug2: we did not send a packet, disable method
debug3: authmethod_lookup password
debug3: remaining preferred: ,password
debug3: authmethod_is_enabled password
debug1: Next authentication method: password
root@192.168.3.44's password:

標(biāo)簽:六安 青島 大理 大慶 周口 大興安嶺 遼寧 樂(lè)山

巨人網(wǎng)絡(luò)通訊聲明:本文標(biāo)題《Linux SSH登錄很慢的解決方法》,本文關(guān)鍵詞  Linux,SSH,登錄,很慢,的,解決,;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問(wèn)題,煩請(qǐng)?zhí)峁┫嚓P(guān)信息告之我們,我們將及時(shí)溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無(wú)關(guān)。
  • 相關(guān)文章
  • 下面列出與本文章《Linux SSH登錄很慢的解決方法》相關(guān)的同類(lèi)信息!
  • 本頁(yè)收集關(guān)于Linux SSH登錄很慢的解決方法的相關(guān)信息資訊供網(wǎng)民參考!
  • 推薦文章
    欧美阿v视频在线大全_亚洲欧美中文日韩V在线观看_www性欧美日韩欧美91_亚洲欧美日韩久久精品
  • <rt id="w000q"><acronym id="w000q"></acronym></rt>
  • <abbr id="w000q"></abbr>
    <rt id="w000q"></rt>
    中文字幕一区二区在线播放| av中文字幕不卡| 五月开心播播网| 欧美午夜寂寞影院| 亚洲欧美偷拍卡通变态| 成人av电影在线| 免费国产羞羞网站美图| 国产精品久久777777| 国产91精品一区二区麻豆网站 | a级在线观看视频| 91精品视频网| 日本在线观看不卡视频| 丰满岳乱妇一区二区| 777久久久精品| 日韩精品电影一区亚洲| 国产十八熟妇av成人一区| 9191国产精品| 日本女人一区二区三区| 亚洲一区二区观看| 亚洲精品在线网站| 国产一区二区三区蝌蚪| 亚洲国产123| 亚洲婷婷国产精品电影人久久| 成人黄色免费短视频| 色婷婷综合视频在线观看| 一区二区三区在线看| 俄罗斯黄色录像| 日韩一级片网站| 久久 天天综合| av黄色免费在线观看| 中文字幕制服丝袜成人av | 亚洲精品欧美激情| 欧美熟妇精品一区二区| 91精品国产全国免费观看| 奇米一区二区三区av| 日韩国产成人精品| 国产女主播喷水高潮网红在线| 久久久久久99久久久精品网站| 丁香天五香天堂综合| 欧美性色综合网| 日本中文在线一区| 国精产品一区一区| 亚洲色图制服诱惑| 黄色性视频网站| 久久久久久久综合狠狠综合| 高清shemale亚洲人妖| 欧美视频一区二区三区四区| 日本伊人色综合网| 国产三级aaa| 一级特黄大欧美久久久| 无套内谢大学处破女www小说| 日本一区二区免费在线观看视频 | 国产露脸91国语对白| 校园春色 亚洲| 婷婷国产在线综合| 亚洲精品国产精品国自| 樱桃视频在线观看一区| 精品人妻无码一区二区三区| 国产精品久久久一区麻豆最新章节| 久久久久亚洲av无码麻豆| 欧美电影免费观看高清完整版 | 国产亚洲成aⅴ人片在线观看 | 国产精品 日产精品 欧美精品| 一本高清dvd不卡在线观看| 亚洲va欧美va人人爽午夜| 无码少妇精品一区二区免费动态| 亚洲欧美综合另类在线卡通| 国产制服丝袜在线| 国产欧美日韩不卡| 国产原创剧情av| 国产视频911| 白嫩情侣偷拍呻吟刺激| 欧美高清在线一区| 亚洲久久久久久| 国产精品久久久久久久久晋中 | 国产成人精品无码片区在线| 国产丝袜欧美中文另类| 美女又黄又免费的视频| 国产日本一区二区| 亚洲天堂美女视频| 中文字幕一区二区三区四区不卡 | 欧美日韩在线播放一区| 国模一区二区三区白浆| 欧美日韩高清一区二区| 国产成人精品亚洲777人妖| 日韩视频一区二区在线观看| 99免费精品在线观看| 26uuu精品一区二区三区四区在线| 9人人澡人人爽人人精品| 久久久综合视频| 手机在线成人av| 亚洲视频 欧洲视频| 一级在线观看视频| 香蕉加勒比综合久久| 91视频综合网| 亚洲成a人片综合在线| 亚洲成人生活片| 美女看a上一区| 88在线观看91蜜桃国自产| 国产成人av影院| 日韩欧美亚洲另类制服综合在线| 99re66热这里只有精品3直播| 久久亚洲影视婷婷| 91在线观看下载| 国产午夜精品一区二区三区嫩草| 三级视频网站在线观看| 中文字幕一区在线观看视频| 波多野结衣片子| 亚洲第一福利一区| 91狠狠综合久久久久久| 麻豆免费精品视频| 69堂精品视频| 国产精品欧美性爱| 国产精品久久久久精k8| 欧美老女人性生活视频| 日韩精品一区第一页| 欧美精品久久99| 精品人妻一区二区三| 国产精品女主播av| 少妇一级黄色片| 狂野欧美性猛交blacked| 日韩精品专区在线| 免费黄色三级网站| 亚洲一区二区三区中文字幕在线| 国产探花在线播放| 国产福利91精品一区二区三区| 精品国产精品一区二区夜夜嗨| 人妻体内射精一区二区| 偷窥少妇高潮呻吟av久久免费| 欧美色区777第一页| 91色|porny| 亚洲色图自拍偷拍美腿丝袜制服诱惑麻豆| 成年人看的免费视频| 精品影院一区二区久久久| 日韩一级二级三级| www.88av| 免费成人在线视频观看| 337p亚洲精品色噜噜| 免费看毛片的网站| 日韩激情一区二区| 日韩一区二区在线观看视频| 捆绑裸体绳奴bdsm亚洲| 视频一区中文字幕国产| 91精品国产综合久久小美女| 欧美做受喷浆在线观看| 日本成人在线电影网| 日韩欧美国产一区在线观看| 久久精品老司机| 麻豆国产91在线播放| 精品毛片乱码1区2区3区 | 国产999精品久久久久久绿帽| 国产精品亚洲一区二区三区妖精| 欧美性猛片aaaaaaa做受| 99这里都是精品| 亚洲三级在线免费| 在线观看日韩一区| 亚洲av无码久久精品色欲| 亚洲大片在线观看| 亚洲少妇一区二区| 亚洲v精品v日韩v欧美v专区 | 国产老肥熟一区二区三区| 国产偷国产偷亚洲高清人白洁| 2014亚洲天堂| 制服下的诱惑暮生| 视频一区国产视频| 精品国产凹凸成av人导航| 青青青手机在线视频| 不卡一卡二卡三乱码免费网站| 中文字幕不卡在线观看| 少妇久久久久久被弄高潮| 亚洲美女高潮久久久| 日av在线不卡| 日本一区二区视频在线观看| 色婷婷综合久久久中文一区二区 | 欧美国产精品v| 日本高清无吗v一区| 在线中文字日产幕| 麻豆国产精品官网| 中文字幕亚洲视频| 91精品在线麻豆| 一本色道久久88| 91女神在线视频| 日韩av不卡一区二区| 国产精品不卡在线观看| 欧美日韩精品欧美日韩精品| 日本高清www| 99视频国产精品| 全国精品久久少妇| 亚洲视频免费在线| 日韩欧美一级特黄在线播放| 欧美风情第一页| 中文成人无字幕乱码精品区| 国产盗摄视频一区二区三区| 亚洲一区二区精品视频| 久久久午夜电影| 欧美性受xxxx| 一级肉体全黄裸片| 伊人久久一区二区三区| 国产一区91精品张津瑜| 亚洲影视资源网|