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
puttygen
to OpenSSH Key format - Open your
Windows PowerShell
then :
$path = ".\path\to\your\key.pem"
icacls.exe $path /reset
icacls.exe $path /GRANT:R "$($env:USERNAME):(R)"
icacls.exe $path /inheritance:r