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?
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.