If you want to login with your key, but you see an error permission windows 11 "SSH key are too open" do this :
- Make sure you was regenerate your key from
puttygento OpenSSH Key format - Open your
Windows PowerShellthen :
$path = ".\path\to\your\key.pem"
icacls.exe $path /reset
icacls.exe $path /GRANT:R "$($env:USERNAME):(R)"
icacls.exe $path /inheritance:r