- Add the VM with new ssh key pair
- Download the .pem file
- Add the file to Cloud Cli or in Cygwin in .ssh folder
- Make sure .pem file has the permission 400 or 600. If not update the permission with chmod
- Make sure .ssh folder is also 600
- On Windows , go to C:\cygwin or your installation folder and make sure the .pem file is NOT accessible by EVERYONE. Only your user and system/administrators
- then connect to the vm using ssh -i .ssh/abcd.pem username@ip
Thanks for reading and happy learning!
billy-at-
python.sg