tech

AWS Lightsail: Ubuntu 16: create new ssh key

ssh-keygen -t rsa -b 4096 -C "email" -f ~/.ssh/lightsail.pem
ssh-keygen -f lightsail.pem -y
copy to ./ssh/authorized_keys 
ssh -i .ssh/lightsail.pem ubuntu@ip-address

Leave a Reply

Your email address will not be published. Required fields are marked *