ssh -i filename.pem username@machine.name
as is done for qwiklabs. With a bit of digging, found that the pem file is actually the private key and not the public key, and the whole process would be as follows.
ssh-keygen -t rsa -m PEM
cd .ssh
cp id_rsa filename.pem
cp id_rsa.pub authorized_keys
chmod 600 authorized_keys
References:
How to log on using the pem file with PuTTY on windows is via PuTTYgen as explained at
for example.)
No comments:
Post a Comment