I use Windows command takeown. The solution, which worked was to set compatibility mode of ssh. I prefer Cygwin over putty and you can just run chmod command in cygwin to change the permission of PEM key to bethen you are good to go Copy the file to Unix system throug scp and make chmod to file. Open Cygwin Terminal that was installed with chocolatey and run note that ssh-keygen creates new keys: Verify keys are there or replace them[…]