Hi, i am new to pipelines and able to generate ssh key pair under pipelines setting and also added to my remote host. Luckily when adding host name and by clicking on fetch is also working and i m seeing fingerprint :)
Steps followed from this link
https://confluence.atlassian.com/bitbucket/use-ssh-keys-in-bitbucket-pipelines-847452940.html
screenshot 1
The question is does above steps enough to execute ssh instruction to my remote host or am i missing something.
For instance i m trying to run following script under pipelines steps but getting timeout error:
ssh user@remotehost "pwd"
screenshot 2
This suppose to give me present working directory of remote host but getting connection timeout error. Any help would be appreciated?
Hi Kamran,
The SSH UI does not add the public key to your SSH server. You need to do that manually. Add the public key in the UI to the "~/.ssh/authorised_keys" file on your server.
Thanks,
Phil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.