2025年5月22日 星期四

New SSH client to old SSH server

從新版 SSH 8.x 連到舊版 6.x SSH server
若出現
Unable to negotiate with x.x.x.x port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss
因為較新版已禁用一些舊的加密協定導致無法連

可設定 LEGACY 使可以連
update-crypto-policies --set LEGACY

若要改回來是
update-crypto-policies --set DEFAULT

沒有留言:

Mount LVM in rescue mode

pvscan # 掃描實體捲軸 (PV) vgscan # 掃描捲軸群組 (VG) vgchange -ay # 建立 /dev/mapper/ 下的設備節點 lvscan 或 ls -l /dev/mapper # 查看有那些節點 mount /dev/mapper/rl-ro...