SYSOP 板


LINE

解決方式 在 .ssh/config 加 Host * KexAlgorithms [email protected] 就可以 ssh [email protected] ssh -vvv log 如下 OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 58: Applying options for * debug2: resolving "bbs.ptt.cc" port 22 debug2: ssh_connect_direct: needpriv 0 debug1: Connecting to bbs.ptt.cc [140.112.172.11] port 22. debug1: Connection established. debug1: permanently_set_uid: 0/0 debug1: key_load_public: No such file or directory debug1: identity file /root/.ssh/id_rsa type -1 debug1: key_load_public: No such file or directory debug1: identity file /root/.ssh/id_rsa-cert type -1 debug1: key_load_public: No such file or directory debug1: identity file /root/.ssh/id_dsa type -1 debug1: key_load_public: No such file or directory debug1: identity file /root/.ssh/id_dsa-cert type -1 debug1: key_load_public: No such file or directory debug1: identity file /root/.ssh/id_ecdsa type -1 debug1: key_load_public: No such file or directory debug1: identity file /root/.ssh/id_ecdsa-cert type -1 debug1: key_load_public: No such file or directory debug1: identity file /root/.ssh/id_ed25519 type -1 debug1: key_load_public: No such file or directory debug1: identity file /root/.ssh/id_ed25519-cert type -1 debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_7.4 debug1: Remote protocol version 2.0, remote software version bbs-sshd debug1: no match: bbs-sshd debug2: fd 3 setting O_NONBLOCK debug1: Authenticating to bbs.ptt.cc:22 as 'bbsu' debug3: send packet: type 20 debug1: SSH2_MSG_KEXINIT sent debug3: receive packet: type 20 debug1: SSH2_MSG_KEXINIT received debug2: local client KEXINIT proposal debug2: KEX algorithms: curve25519-sha256,[email protected],ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1,ext-info-c debug2: host key algorithms: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519,rsa-sha2-512,rsa-sha2-256,ssh-rsa,ssh-dss debug2: ciphers ctos: [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected],aes128-cbc,aes192-cbc,aes256-cbc debug2: ciphers stoc: [email protected],aes128-ctr,aes192-ctr,aes256-ctr,[email protected],[email protected],aes128-cbc,aes192-cbc,aes256-cbc debug2: MACs ctos: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1 debug2: MACs stoc: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],hmac-sha2-256,hmac-sha2-512,hmac-sha1 debug2: compression ctos: none,[email protected],zlib debug2: compression stoc: none,[email protected],zlib debug2: languages ctos: debug2: languages stoc: debug2: first_kex_follows 0 debug2: reserved 0 debug2: peer server KEXINIT proposal debug2: KEX algorithms: curve25519-sha256,[email protected],diffie-hellman-group16-sha512,diffie-hellman-group14-sha256,ext-info-s,[email protected] debug2: host key algorithms: ssh-ed25519,ecdsa-sha2-nistp256,rsa-sha2-512,rsa-sha2-256,ssh-rsa debug2: ciphers ctos: [email protected],[email protected],aes256-ctr,aes192-ctr,aes128-ctr debug2: ciphers stoc: [email protected],[email protected],aes256-ctr,aes192-ctr,aes128-ctr debug2: MACs ctos: [email protected],[email protected],hmac-sha2-512,hmac-sha2-256,[email protected],hmac-sha1 debug2: MACs stoc: [email protected],[email protected],hmac-sha2-512,hmac-sha2-256,[email protected],hmac-sha1 debug2: compression ctos: none debug2: compression stoc: none debug2: languages ctos: debug2: languages stoc: debug2: first_kex_follows 0 debug2: reserved 0 debug1: kex: algorithm: curve25519-sha256 debug1: kex: host key algorithm: ecdsa-sha2-nistp256 debug1: kex: server->client cipher: [email protected] MAC: <implicit> compression: none debug1: kex: client->server cipher: [email protected] MAC: <implicit> compression: none debug1: kex: curve25519-sha256 need=64 dh_need=64 debug1: kex: curve25519-sha256 need=64 dh_need=64 debug3: send packet: type 30 debug1: expecting SSH2_MSG_KEX_ECDH_REPLY 麻煩站方再看一下,要怎設定才能連. ※ 引述《wens (文思)》之銘言: : 由於批踢踢 SSH 原先使用的 RSA 金鑰長度已不符現今最短長度要求,因此予以更換。 : 以下為新的 RSA 金鑰的指紋: : 3072 SHA256:9/gkjxWjuteMj//K0sRo1gj7h5qTp0HPIH3n7+e3Jqc [email protected] (RSA) : +---[RSA 3072]----+ : | | : | | : | | : | .. | : | . Soo=+ | : | o.*=*+o | : | .=*B= | : | o+BX=o oo| : | *Bo=BEO++| : +----[SHA256]-----+ : 同時並將現行 SSH 金鑰指紋登載於 DNS SSHFP 紀錄。 --



※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 158.101.145.243 (日本)
※ 文章網址: https://webptt.com/m.aspx?n=bbs/SYSOP/M.1728452373.A.180.html
1F:→ wens: 阿你的 SSH 還在 7.4? 140.112.30.76 10/09 21:22
2F:→ wens: 看不出問題在哪,就看起來停住了 140.112.30.76 10/09 21:37
3F:推 yvb: 我的版本更舊, 但用起來正常... 60.250.129.28 10/09 22:17
4F:→ yvb: OpenSSH_7.2p2, OpenSSL 1.0.1 14 Mar 2012 60.250.129.28 10/09 22:17
5F:→ asdfghjklasd: 我9.9p1 的也不行.158.101.145.243 10/09 22:34
6F:推 yvb: google: expecting SSH2_MSG_KEX_ECDH_REPLY 60.250.129.28 10/09 23:31
7F:→ yvb: 試試看是否其中是有方式可以解決這問題. 60.250.129.28 10/09 23:32
8F:→ asdfghjklasd: 我有google 過試過蠻多方式158.101.145.243 10/10 09:09
9F:→ asdfghjklasd: 現在用xshell 直連158.101.145.243 10/10 09:09
10F:推 a123453906: 我也是卡一樣地方 1.34.206.140 10/10 12:28
11F:→ a123453906: ssh -o KexAlgorithms=curve25519- 1.34.206.140 10/10 12:28
12F:→ a123453906: sha256 [email protected] 1.34.206.140 10/10 12:28
13F:→ a123453906: 後來加上這個就能連了 1.34.206.140 10/10 12:29
14F:→ asdfghjklasd: 我加上也可以了.感謝分享 140.238.52.217 10/10 21:48
※ 編輯: asdfghjklasd (140.238.52.217 日本), 10/10/2024 21:52:04
15F:推 yvb: 看來是 CentOS 才有這樣的問題. 60.250.129.28 10/15 19:17
16F:→ asdfghjklasd: 我是 Oracle Linux and ubuntu 140.238.52.217 10/20 17:51
17F:推 yvb: 噢, 沒用過 Oracle Linux, 或許它和 CentOS 60.250.129.28 10/21 19:00
18F:→ yvb: 有一些共通的部分? 60.250.129.28 10/21 19:00
19F:→ yvb: 至於 ubuntu 之前好像用人說沒問題... 60.250.129.28 10/21 19:01
20F:→ yvb: 不知原PO的 ubuntu 是使用什麼版本發生問題? 60.250.129.28 10/21 19:02
21F:→ asdfghjklasd: buntu 24.04.1 LTS 這個版本 140.238.52.217 10/27 16:13
22F:→ jyhfang: Ubuntu 24.04.1 LTS 很常見的版本 真神奇 220.134.41.251 10/28 02:01
23F:→ jyhfang: 有機會來試試 220.134.41.251 10/28 02:01







like.gif 您可能會有興趣的文章
icon.png[問題/行為] 貓晚上進房間會不會有憋尿問題
icon.pngRe: [閒聊] 選了錯誤的女孩成為魔法少女 XDDDDDDDDDD
icon.png[正妹] 瑞典 一張
icon.png[心得] EMS高領長版毛衣.墨小樓MC1002
icon.png[分享] 丹龍隔熱紙GE55+33+22
icon.png[問題] 清洗洗衣機
icon.png[尋物] 窗台下的空間
icon.png[閒聊] 双極の女神1 木魔爵
icon.png[售車] 新竹 1997 march 1297cc 白色 四門
icon.png[討論] 能從照片感受到攝影者心情嗎
icon.png[狂賀] 賀賀賀賀 賀!島村卯月!總選舉NO.1
icon.png[難過] 羨慕白皮膚的女生
icon.png閱讀文章
icon.png[黑特]
icon.png[問題] SBK S1安裝於安全帽位置
icon.png[分享] 舊woo100絕版開箱!!
icon.pngRe: [無言] 關於小包衛生紙
icon.png[開箱] E5-2683V3 RX480Strix 快睿C1 簡單測試
icon.png[心得] 蒼の海賊龍 地獄 執行者16PT
icon.png[售車] 1999年Virage iO 1.8EXi
icon.png[心得] 挑戰33 LV10 獅子座pt solo
icon.png[閒聊] 手把手教你不被桶之新手主購教學
icon.png[分享] Civic Type R 量產版官方照無預警流出
icon.png[售車] Golf 4 2.0 銀色 自排
icon.png[出售] Graco提籃汽座(有底座)2000元誠可議
icon.png[問題] 請問補牙材質掉了還能再補嗎?(台中半年內
icon.png[問題] 44th 單曲 生寫竟然都給重複的啊啊!
icon.png[心得] 華南紅卡/icash 核卡
icon.png[問題] 拔牙矯正這樣正常嗎
icon.png[贈送] 老莫高業 初業 102年版
icon.png[情報] 三大行動支付 本季掀戰火
icon.png[寶寶] 博客來Amos水蠟筆5/1特價五折
icon.pngRe: [心得] 新鮮人一些面試分享
icon.png[心得] 蒼の海賊龍 地獄 麒麟25PT
icon.pngRe: [閒聊] (君の名は。雷慎入) 君名二創漫畫翻譯
icon.pngRe: [閒聊] OGN中場影片:失蹤人口局 (英文字幕)
icon.png[問題] 台灣大哥大4G訊號差
icon.png[出售] [全國]全新千尋侘草LED燈, 水草

請輸入看板名稱,例如:Soft_Job站內搜尋

TOP