婷婷综合国产,91蜜桃婷婷狠狠久久综合9色 ,九九九九九精品,国产综合av

主頁 > 知識庫 > Linux SSH登錄很慢的解決方法

Linux SSH登錄很慢的解決方法

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

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

1. DNS反向解析問題

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

解決辦法:

在目標服務器上修改sshd服務器端配置,并重啟sshd

復制代碼
代碼如下:

vi /etc/ssh/sshd_config
UseDNS no

2. 關閉ssh的gssapi認證

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

復制代碼
代碼如下:

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

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

解決辦法:

修改sshd服務器端配置

復制代碼
代碼如下:

vi /etc/ssh/ssh_config
GSSAPIAuthentication no

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

GSSAPI ( Generic Security Services Application Programming Interface) 是一套類似Kerberos 5的通用網(wǎng)絡安全系統(tǒng)接口。該接口是對各種不同的客戶端服務器安全機制的封裝,以消除安全接口的不同,降低編程難度。但該接口在目標機器無域名解析時會有問題

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

復制代碼
代碼如下:

[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:

標簽:六安 青島 大理 大慶 周口 大興安嶺 遼寧 樂山

巨人網(wǎng)絡通訊聲明:本文標題《Linux SSH登錄很慢的解決方法》,本文關鍵詞  Linux,SSH,登錄,很慢,的,解決,;如發(fā)現(xiàn)本文內(nèi)容存在版權問題,煩請?zhí)峁┫嚓P信息告之我們,我們將及時溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡,涉及言論、版權與本站無關。
  • 相關文章
  • 下面列出與本文章《Linux SSH登錄很慢的解決方法》相關的同類信息!
  • 本頁收集關于Linux SSH登錄很慢的解決方法的相關信息資訊供網(wǎng)民參考!
  • 推薦文章
    婷婷综合国产,91蜜桃婷婷狠狠久久综合9色 ,九九九九九精品,国产综合av
    国产农村妇女精品| 欧美久久一区二区| 亚洲欧洲无码一区二区三区| 欧美日韩久久一区| 高清不卡在线观看| 久久超级碰视频| 亚洲成人资源网| 综合自拍亚洲综合图不卡区| 久久免费美女视频| 日韩一区二区不卡| 99热99精品| 91碰在线视频| 欧美aⅴ一区二区三区视频| 成人一级片网址| 伦理电影国产精品| 亚洲最大色网站| 亚洲私人影院在线观看| 久久久久亚洲蜜桃| 欧美成人综合网站| 欧美mv日韩mv| 久久综合久久综合亚洲| 精品三级在线看| 日韩一二在线观看| 欧美成人bangbros| 日韩免费视频一区| 制服.丝袜.亚洲.中文.综合| 欧美日韩精品一区视频| 欧美日韩精品综合在线| 欧美日韩二区三区| 1024亚洲合集| 精品久久久三级丝袜| 日韩不卡一二三区| 日韩和的一区二区| 亚洲最色的网站| 99v久久综合狠狠综合久久| 亚洲一区在线电影| 天堂影院一区二区| 久久超级碰视频| 国产精品综合av一区二区国产馆| 韩国三级在线一区| 成人黄动漫网站免费app| 91丝袜高跟美女视频| 色系网站成人免费| 91麻豆精品国产91久久久久久久久| 色婷婷综合视频在线观看| 欧美综合色免费| 欧美电影一区二区三区| 精品国产免费一区二区三区四区| 26uuu亚洲综合色| 亚洲美女视频一区| 婷婷久久综合九色国产成人 | 亚洲欧美在线观看| 亚洲一区二区五区| 久久精品国产亚洲a| 国产成人免费视频一区| 色综合久久88色综合天天| 欧美性猛片xxxx免费看久爱| 精品区一区二区| 国产精品国产三级国产普通话99| 亚洲国产一区二区a毛片| 久久综合综合久久综合| 国产69精品久久久久毛片| 欧洲精品一区二区| 精品盗摄一区二区三区| 中文字幕亚洲不卡| 日韩av午夜在线观看| 国产盗摄女厕一区二区三区| 久久国产精品色| 91免费版pro下载短视频| 日韩亚洲欧美中文三级| 亚洲欧美日本韩国| 麻豆精品国产91久久久久久| 91在线播放网址| 欧美大片日本大片免费观看| 伊人开心综合网| 国产最新精品精品你懂的| 在线观看不卡一区| 中文字幕国产一区| 久久成人麻豆午夜电影| 国产精品一区二区x88av| 欧美日韩亚洲丝袜制服| 中文字幕高清不卡| 韩日av一区二区| 欧美嫩在线观看| 午夜伊人狠狠久久| 91亚洲男人天堂| 欧美极品aⅴ影院| 久久精品国产精品亚洲红杏| 欧美日韩国产高清一区| 亚洲色图一区二区三区| 国产福利一区二区三区视频在线| 日韩午夜在线观看| 偷窥国产亚洲免费视频| 欧洲另类一二三四区| 亚洲一区在线电影| 亚洲私人影院在线观看| 欧美电影一区二区| 91精品国产色综合久久ai换脸| 福利电影一区二区| 日韩精品一区二区三区中文不卡| 亚洲一二三区视频在线观看| 国产激情精品久久久第一区二区| 日韩精品专区在线影院重磅| 婷婷久久综合九色国产成人| 欧美精品自拍偷拍| 亚洲aⅴ怡春院| 欧美午夜不卡在线观看免费| 亚洲欧美色一区| 色狠狠色噜噜噜综合网| 亚洲免费av高清| 91久久精品午夜一区二区| 亚洲国产综合色| 欧美精品国产精品| 韩国成人福利片在线播放| 久久综合给合久久狠狠狠97色69| 高清国产一区二区| 亚洲视频免费看| 在线观看日产精品| 久久99热国产| 国产农村妇女毛片精品久久麻豆 | 欧美亚洲禁片免费| 亚洲第一激情av| 亚洲免费在线电影| 欧美日韩不卡一区| 午夜精品久久久久久久久久| 欧美一区二区三区男人的天堂| 美女在线视频一区| 欧美国产综合色视频| 91免费版在线| 婷婷综合久久一区二区三区| 日韩欧美视频一区| 高清不卡一区二区| 亚洲不卡在线观看| 欧美成人乱码一区二区三区| 高潮精品一区videoshd| 一区二区三区四区乱视频| 制服丝袜亚洲精品中文字幕| 国产成人在线色| 亚洲国产欧美在线人成| 日韩欧美高清在线| av资源网一区| 久久99精品久久久久婷婷| 中文字幕亚洲区| 欧美刺激脚交jootjob| 99久久久免费精品国产一区二区| 日韩av一二三| 亚洲精品少妇30p| 精品国产91亚洲一区二区三区婷婷 | 日本免费在线视频不卡一不卡二| 久久伊人中文字幕| 欧美视频在线一区二区三区| 国产成人在线视频免费播放| 亚洲va欧美va人人爽午夜 | 成人av片在线观看| 久久精品久久99精品久久| 怡红院av一区二区三区| 99久久精品99国产精品| 蜜桃91丨九色丨蝌蚪91桃色| 亚洲视频资源在线| 亚洲国产激情av| 精品国产一区二区三区不卡| 欧美日韩中文国产| 91免费在线看| 99视频精品全部免费在线| 激情六月婷婷综合| 麻豆精品视频在线观看免费| 亚洲午夜在线视频| 亚洲男人的天堂av| 国产精品全国免费观看高清| 精品福利在线导航| 日韩欧美一级精品久久| 91精品国产综合久久福利| 色综合中文字幕国产 | 中文字幕亚洲电影| 国产精品国产三级国产aⅴ无密码 国产精品国产三级国产aⅴ原创 | 欧美福利一区二区| 色美美综合视频| 99免费精品视频| 成人一级片网址| 成人性视频免费网站| 国产老肥熟一区二区三区| 美女网站一区二区| 日韩国产精品久久久久久亚洲| 亚洲午夜精品在线| 一区二区三区四区在线| 亚洲天堂久久久久久久| 亚洲欧美一区二区三区极速播放| 欧美激情在线一区二区| 中文av字幕一区| 国产精品理伦片| 一区二区在线观看视频| 亚洲福利一二三区| 看片网站欧美日韩| 精品一区二区久久久| 国产成人三级在线观看| 成人免费看黄yyy456| 欧洲日韩一区二区三区| 777精品伊人久久久久大香线蕉| 欧美一级高清大全免费观看| 欧美成人三级在线|