Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Not seeing how to use an existing SSH public key on a new server

bennani ismail
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 5, 2019

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 

1 comment

Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 7, 2019

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

bennani ismail
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 7, 2019

Screenshot (5)_LI.jpgThank 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

 

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events