2021年11月5日 星期五

Setup static IP with nmcli

nmcli con mod ens192 ipv4.addresses 192.168.1.10/24
nmcli con mod ens192 ipv4.gateway 192.168.1.254
nmcli con mod ens192 ipv4.dns 1.1.1.1,8.8.8.8
nmcli con mod ens192 ipv4.method manual
systemctl restart NetworkManager.service

沒有留言:

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 ...