how to get an ssh public key for aws ... not for windows or linux.. but for amazon web service.
the comand line doesnt work : cat ~/.ssh/id_rsa.pub
Thank you Jobin.
After creating a bitbucket account, on the AWS console Cloud9 in the terminal I run this command and it worked :
cat ~/.ssh/id_rsa.pub
Depends on your OS. See https://confluence.atlassian.com/bitbucketserver/ssh-user-keys-for-personal-use-776639793.html
Windows
cd %userprofile%/.ssh
clip < id_rsa.pub
On macOS or Linux simply run the following in a terminal:
Mac OS X
pbcopy < ~/.ssh/id_rsa.pub
Note that on Linux, you may need to download and install xclip, then use that, as shown in this code snippet:
Linux
sudo apt-get install xclip
xclip -sel clip < ~/.ssh/id_rsa.pub
If you do not have a key, you should create one first: https://confluence.atlassian.com/bitbucketserver/creating-ssh-keys-776639788.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.