Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Generated SSH key name.

Oleksiy
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!
July 12, 2019

Hello!  

I'm trying to deploy my project via sFTP to my server. 

I created the SSH keys pair in pipelines settings, like said here https://confluence.atlassian.com/bitbucket/use-ssh-keys-in-bitbucket-pipelines-847452940.html#UseSSHkeysinBitbucketPipelines-update_host

Now I want to test the connection, but to do this I have to know the SSH key name which was created by pipelines 

ssh -i ~/.ssh/my_ssh_key user@host

Where can I get it?

1 answer

0 votes
Oleksandr Kyrdan
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 17, 2019

Hi @Oleksiy ,

 

identity file generated via the UI stored in '/opt/atlassian/pipelines/agent/ssh/id_rsa'.
A good explanation was provided by @Graham Gatus for the related question How to use generated SSH-KEY in pipelines?

Also, to deploy your project, you can use one of the available pipes SFTP deploy, SCP deploy, Rsync deploy.

More available pipes you can discover on the Bitbucket Pipes page.

 

Cheers,
Alex

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events