If you get the file permission error in windows while connecting to SSH using ssh -i e:\keyfiles\myserver.key or myserver.pem then Locate file in explorer and right click Go to Properties Go to Security Go to Advanced Disable Inheritence Delete all permissions Add the current user and give Read and Read & Execute permissions DONE