V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
troilus
V2EX  ›  SSH

ssh chat

  •  
  •   troilus · Jun 23, 2022 · 2292 views
    This topic created in 1409 days ago, the information mentioned may be changed or developed.

    ssh pod.zzz667.tk -p 64738

    Supplement 1  ·  Jun 24, 2022
    Supplement 2  ·  Jun 26, 2022
    11 replies    2022-06-25 17:46:17 +08:00
    billzhuang
        1
    billzhuang  
       Jun 23, 2022
    好玩,哈哈哈
    duke807
        2
    duke807  
       Jun 23, 2022   ❤️ 1
    ```
    duke@duke-pc ~ $ ssh pod.zzz667.tk -p 64738
    Unable to negotiate with 218.89.226.75 port 64738: no matching host key type found. Their offer: ssh-rsa
    ```
    troilus
        3
    troilus  
    OP
       Jun 23, 2022
    @duke807 多试试呢
    0o0O0o0O0o
        4
    0o0O0o0O0o  
       Jun 24, 2022 via iPhone
    PubkeyAcceptedKeyTypes +ssh-rsa
    masker
        5
    masker  
       Jun 24, 2022 via Android
    @duke807 同样的情况,貌似是 sshd 配置的问题,楼上给出了解决方法
    masker
        6
    masker  
       Jun 24, 2022 via Android
    @masker 在本机 ssh_config 加上也可以。。。
    duke807
        7
    duke807  
       Jun 24, 2022   ❤️ 1
    @0o0O0o0O0o
    @masker

    不行,我的 /etc/ssh/ssh_config 早加了這句,且只有這一句,其它屏蔽掉了

    之前登錄我的 gerrit 突然登錄不了,重新安裝了新版本 gerrit ,還是不行,加了這句之後能登錄 gerrit 了

    剛試了一下,加下面這句才能登錄 OP 的 chat:HostKeyAlgorithms +ssh-rsa

    而 PubkeyAcceptedAlgorithms +ssh-rsa 是讓 gerrit 能正常登錄

    不加的話,gerrit 報錯是:
    duke@duke-pc ~ $ ssh [email protected]-l.io -p 29418
    [email protected]-l.io: Permission denied (publickey).
    Davic1
        8
    Davic1  
       Jun 24, 2022
    也可以通过浏览器扩展,Chrome: https://chrome.google.com/webstore/detail/secure-shell/iodihamcpbpeioajjeobimgagajmlibd/related

    然后按照 7#的方法设置一下 preference , 就可以用你自己喜欢的用户名连接, 然后 chat 了
    zhouwb
        9
    zhouwb  
       Jun 24, 2022
    有意思
    troilus
        10
    troilus  
    OP
       Jun 25, 2022
    @duke807 @masker @0o0O0o0O0o 设置了 ed25519 ,各位目前可以正常进入吗?
    masker
        11
    masker  
       Jun 25, 2022 via Android
    @troilus 本机 ssh_config 加上 PubkeyAcceptedKeyTypes +ssh-rsa 这个就可以了,奇怪的是腾讯轻量云不需要加就可以
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   893 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 55ms · UTC 18:55 · PVG 02:55 · LAX 11:55 · JFK 14:55
    ♥ Do have faith in what you're doing.