I'm trying to deploy to an testing server. As my server can't be accessed from internet, I’m using a self.hosted runner to copy my files and deploy inside my network
As my server is on a local network, I use cat command to add my know_host information but i always get a Host Key Verification Fail. I'ts like the sftp pipeline doesn't read from the same know_host file.
Any help will be appreciated.
@Ricardo hi. Thanks for your question.
Currently our team are working on supporting the default ssh_key for self hosted runner.
Please, for now use your custom created ssh key. See how to generate encoded ssh_key under the section:
pass the output in base64 format into bitbucket repository variables with name
i.e SSH_KEY and use it in your pipe:
script: - pipe: atlassian/sftp-deploy:0.5.8 variables: USER: <your user> SERVER: <your host> REMOTE_PATH: '/var/www/build/' LOCAL_PATH: 'build' SSH_KEY: $SSH_KEY DEBUG: 'true'
Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events