2022年8月2日 星期二

WSL Export and Import

Export
wsl --export <Distro> <FileName>
e.g.
wsl --export Ubuntu-20.04 C:\BAK\Ubuntu-20.04.tar

Import
wsl --import <Distro> <InstallLocation> <FileName>
e.g.
wsl --import Ubuntu-20.04 C:\WSL C:\BAK\Ubuntu-20.04.tar

沒有留言:

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