2019/09/08

xshell 舊版無法登入新版的ubuntu ssh 問題


ssh 使用加密演算法報錯unknown cipher type

找出目前這個版本的 ssh 支援的加密演算法

ssh -Q cipher localhost | paste -d , -s -

* 到 /etc/ssh/sshd_config 加到最後面,重新啟動 sshd 就可以了...!!

* 把生成的變數參考,可能長的類似下面的,把它貼入 config 。

Ciphers 3des-cbc,blowfish-cbc,cast128-cbc,arcfour,arcfour128,arcfour256,aes128-cbc,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com

Ciphers 3des-cbc,aes128-cbc,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com

ref: http://mgalgs.github.io/2014/10/22/enable-arcfour-and-other-fast-ciphers-on-recent-versions-of-openssh.html


圖文不相關

圖文不相關-東京塔

HERMES 圖文不相關