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

PHP class for HE.net DNS management

HE.net 這家老牌的網路服務商,它所提供的 Free DNS service 並沒有 API, 所以寫了這個 PHP class,可以新增、刪除、修改 DNS records https://github.com/pankpan/henet 它是爬蟲方式登入,Parse ...