youngmon/atlassian-qna huggingface dataset:
WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!
Asked by Lloyd Peltier:

Hello all,

I am getting this error whenever I try to do anything with Bitbucket. All of my personal repos and all the team stuff I am working on.

```
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
SHA256:eYTtqNXZHMS/TJH1nE4VyvIuF1b3FJDfMH/0D16SFus.
Please contact your system administrator.
Add correct host key in /c/Users/PEL6FH/.ssh/known_hosts to get rid of this mess
Offending RSA key in /c/Users/PEL6FH/.ssh/known_hosts:4
Host key for [sourcecode.socialcoding.bosch.com]:7999 has changed and you have r
Host key verification failed.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
```

How can I fix this? I am not a git guru, please be as explicit as possible in any responses. It seems like I need to copy the host .ssh key to my known_hosts file? Where do I find this host key?

Thank you in advance for any help you can provide.


Answers:
author: Lloyd Peltier
body: I found a solution that works.  
* Go to C:\\Users\\\<your_username\>\\.ssh
* Open the known_hosts.txt file
* Delete the whole section for the RSA key that is giving you the error
* Then you should be able to use git to clone or fetch or whatever you were trying to do.

comments: author: shashank
body: Hi [@Lloyd Peltier](/t5/user/viewprofilepage/user-id/4859715)   
I was also getting same error and I tried the above method and it worked, but somehow it added the other sections also in the known_hosts.txt file which were not there when i run ssh-add command via ssh agent. Earlier there were only one entry for bitbucker which are somehow now three. Can you explain why it is so?  

Also how to check from where these entries are generated in that known_hosts file?


Tags: bitbucket-server

server
how can i deploy only changed files to ftp server using bitbucket pipeline?
Asked by Diksha:

image: atlassian/default-image:2

pipelines:

branches:  
master:  
- step:  
name: Deploy to Production  
deployment: production  
script:  
- pipe: atlassian/ftp-deploy:0.2.1  
variables:  
USER: $FTP_USERNAME  
PASSWORD: $FTP_PASSWORD  
SERVER: $FTP_HOST  
REMOTE_PATH: /public_html/ci_deploy  
EXTRA_ARGS: '--ignore-size'

this is my script and i only want to upload changed files.


Answers:
author: Syahrul
body: G'Day [@Diksha](/t5/user/viewprofilepage/user-id/4859622)

Welcome to the community!

Ftp pipe are used when you wish to transfer your whole files over to your server and are not suitable if you wish to only upload files that have been changed.

I would suggest using [Git FTP](https://github.com/git-ftp/git-ftp) since it's designed to work with git and will only upload files that have been changed since your last upload. It also keeps track of the upload files by storing the commit id in a log file on your server

I hope this helps.

Cheers,  
Syahrul
Invitation I have sent for a new user has not been received.
Asked by hakanozdemir:

I've sent an invitation to a team member to join the group but they didn't receive the email. They also tried to create an account but didn't receive email for that also. How can we fix this?


Answers:
author: Caroline R
body: Hi, [@hakanozdemir](/t5/user/viewprofilepage/user-id/3558249), thank you for reaching out to Atlassian Community.

I checked the pending invitations sent from the workspaces you have access to and confirmed that one of the users who hasn't accepted the invitation yet had a block on the server that prevented emails from being sent to them, so I removed this email from this suppression list.

Just to give you some context around this issue, it can occur when the system tries to send an email to the user and the account does not exist yet, is not activated, or it rejects the email for some internal reason.

Now, could you please remove the invitation and send them a new one? You can do this by following the next steps:

In case you have invited them to a **specific repository**:

* Access the workspace \> Go to the repo you have invited them to;

* Access the **Repository Settings** \> **User and group access;**

* Click on the "**invitation pending**";

* Select the "**Cancel invitation**" option to remove the invitation;

* Add the email again to send a new invitation.

In case you have invited them to a **group on this workspace**:

* Access the workspace \> **Settings**;

* Access **User groups** \> Open the group you have invited them to**;**

* Click on the "**invitation pending**";

* Select the "**Cancel invitation**" option to remove the invitation;

* Add the email again to send a new invitation.

Please let me know how it goes and feel free to share any additional questions regarding this case.

Kind regards,   
Caroline

comments: author: Ballastlane Applications
body: We are experiencing the same issue, one of the team members is not receiving invitations.

[@Caroline R](/t5/user/viewprofilepage/user-id/3934006) Could you help us with this please?


author: Theodora Boudale
body: Hi [@Ballastlane Applications](/t5/user/viewprofilepage/user-id/4954854),

Please allow me to step in as Caroline is out of office.

I see that you created a support ticket for this issue and it has been resolved. If you need anything further, please feel free to let us know.

In case you ever need help with anything else, I would recommend creating a new question instead of posting to an existing user's question. This way your question has better visibility by the rest of the Atlassian team, in case someone is unavailable.

If the issue concerns a workspace on a paid billing plan, you can always create a ticket with the support team instead.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
App password doesn't generate a password for me.
Asked by butamuh:

Trying to create app password, after selecting acces rights and submiting the form, nothing happens, i have no records of creating a pass in \*App password\* category, at the same time the \*successful\* email of creating an app pass being delivered, have anyone faced this problem?  

<br />


Answers:
author: Caroline R
body: Hi, [@butamuh](/t5/user/viewprofilepage/user-id/4859159), welcome to the community!

I couldn't reproduce this behavior when creating an App password. In this case, could you please confirm the browser you are using to create it? Can you test this process using an incognito window in Chrome?

Please let me know how it goes and feel free to share any additional questions regarding this case.

Kind regards,   
Caroline

comments: author: butamuh
body: Idk what happened, but the problem is gone.  
I'm using the latest Chrome vers ( even cleared the cache and etc in that moment, didn't help at all ) , looks like the page wasn't loading fully for some reason.

Anyway, the problem is gone, thanks for help.


author: Caroline R
body: Hi [@butamuh](/t5/user/viewprofilepage/user-id/4859159), thanks for getting back to us. I'm glad to know the problem is gone. Please contact us in case you face this issue again.


Tags: cloud
"Create a pull request" is not working now ... loading spinner is running and running
Asked by Michael Hohlfeld:

Something is wrong today in Bitbucket \> "Create a pull request"

Loading Spinner is running and running :-(

Tried many times. It was working in the morning some hours ago.

**Support \> Any ideas!? Can you check please**


Answers:
author: Michael Hohlfeld
body: Now it's running again... :)


author: Michael Hohlfeld
body: ![Bildschirmfoto 2022-04-05 um 11.17.57.png](https://community.atlassian.com/t5/image/serverpage/image-id/191577iFDB3060DED2E4298/image-size/large?v=v2&px=999 "Bildschirmfoto 2022-04-05 um 11.17.57.png")


Tags: bitbucket-cloud

cloud
Can not create pull request
Asked by maskca:

Hi,

Today tried crate a pull request but the page does not load: ![2022-04-05_11-52-41](https://community.atlassian.com/t5/image/serverpage/image-id/191564iF5415621E65972EC/image-size/large?v=v2&px=999 "2022-04-05_11-52-41")

The page just loading and nothing happens.


Answers:
author: Michael Hohlfeld
body: it's working :-)


author: Michael Hohlfeld
body: ah ok... i'm not the only one with that problem....

<https://community.atlassian.com/t5/Bitbucket-questions/quot-Create-a-pull-request-quot-is-not-working-now-loading/qaq-p/1993074>


Tags: bitbucket-cloud

cloud
How to enable auto approve all commits to repo users?
Asked by Nitin Bhosale:

Sound like a dull question, but I want all my repo users to have their commit auto approved. (I don't want to approve them one by one)


Answers:
author: Ben
body: Hey Nitin,

So that I can make sure we are on the same page - are you referring to regular commits (ie when a user pushes to the repository) or do you mean pull requests for merging?

Usually when there is a push, the commit is immediately added to the repository/commit history. For pull requests, you can remove the requirement for approvals from Repository Settings \> Branch permissions.

Cheers!

- Ben (Bitbucket Cloud Support)

comments: author: Nitin Bhosale
body: Thanks [@Ben](/t5/user/viewprofilepage/user-id/4537226) Would it possible in case of workflow transition change?

For example transition changed from **In Review** to **Ready For QA** then all commits must be approved automatically on my repo in bitbucket.


author: Ben
body: Hey [@Nitin Bhosale](/t5/user/viewprofilepage/user-id/4858642) - apologies for the delay in response.

This feature does not yet exist but I have raised this for you as a feature request for our development team, please feel free to "Watch" this for future updates:  
<https://jira.atlassian.com/browse/BCLOUD-21856>

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud
Someone has already added that key as an access key to a repository.
Asked by FelixIvance:

Hi i would like to know which repository this key is added to, so that i can be able to ask them to remove it. Kindly assist. Is there an easier way to identify which repository the key is added to?

<br />

<br />


Answers:
author: Caroline R
body: Hi, [@FelixIvance](/t5/user/viewprofilepage/user-id/4858623), welcome to the community!

As we will need to know the public ssh key to further investigate this case, I have created an internal ticket for you using the email of your community account, so you don't have to share this information here.

You should have received an email with a link to the support ticket. Just in case you haven't received it, please feel free to let me know and I can post the ticket URL here. The ticket will be visible only to you and Atlassian staff, no one else can view its contents even if they have the URL.

Please feel free to let me know if you have any questions.

Kind regards,  
Caroline

comments: author: FelixIvance
body: thank you, yes i have shared the key, for further investigation


Tags: bitbucket-cloud

cloud
Is there a way to upload p12 certificate generated locally to bitbucket ?
Asked by Nouman Ahmad:

Hi Guys,

I'm a bit new here and stuck with configuring the p12 certificate.

This p12 certificate is required in the pipeline to deploy code but I'm not sure how can I upload it to bitbucket and use it in the pipeline.  

I can put it in the repo and utilize it from there but that won't be secure.  

Thanks


Answers:
author: Ben
body: G'day,

Welcome to the Bitbucket Cloud Community!

For this particular use case, I would suggest one of two things:

1. Hosting the p12 file in a seperate private repository in your workspace where only you have access, you can then configure a repository access key (SSH) for that repo in repository settings so that it can be referenced and used in pipelines, this article explains how this can be done:  
<https://bitbucket.org/blog/cloning-another-bitbucket-repository-in-bitbucket-pipelines>

2. Hosting the p12 file in the Downloads section of the repository, this is kept separately from GIT and you can make use of our API to download and use the file accordingly in the pipeline - this will only allow authenticated users to perform this and adds another layer of security:  
**<https://developer.atlassian.com/cloud/bitbucket/rest/api-group-downloads/#api-group-downloads>**

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud

deployment
Importing a repository from another workspace, error with the new app password
Asked by Rafael F_:

It is not possible to import a repository from another workspace anymore, the import process fail even when we use an app password with full access.  

11:48:47 git import for: <https://repo.git>  
11:48:47 Cloning <https://repo.git>...  
11:48:47 Cloning into bare repository 'newrepo'...  
11:48:47 remote: Bitbucket Cloud recently stopped supporting account passwords for Git authentication.  
11:48:47 remote: See our community post for more details: <https://atlassian.community/t5/x/x/ba-p/1948231>  
11:48:47 remote: App passwords are recommended for most use cases and can be created in your Personal settings:  
11:48:47 remote: <https://bitbucket.org/account/settings/app-passwords/>  
11:48:47 fatal: Authentication failed for '<https://repo.git/>'  
11:48:47 Remote Git clone failed: \<class 'bitbucket.apps.asyncx.tasks.ImportException'\>: Command failed. Return value: 128


Answers:
author: Rafael F_
body: Nevermind, the problem was not the password, the login needs to be the username and not the actual login.  

The username is only seen on the person bitbucket settings and not on the atlassian account settings.


author: Karthick S
body: Hello [@Rafael F_](/t5/user/viewprofilepage/user-id/4400832)  

As per the Bitbucket [communication](https://bitbucket.org/blog/deprecating-atlassian-account-password-for-bitbucket-api-and-git-activity#:~:text=Deprecating%20Atlassian%20account%20password%20for%20Bitbucket%20API%20and%20Git%20activity,-September%2003%2C%202021&text=Starting%20Sep%2013%2C%202021%2C%20new,to%20use%20Bitbucket%20app%20passwords.), Atlassian account passwords are deprecated for Bitbucket API calls and HTTPS git activity (clone, push, pull and fetch), and are being replaced by App Passwords.

App passwords are meant to substitute your real account password and are designed to be used for a specific purpose and limited permissions. They can be easily created and revoked when needed.

If you want to check more information about the App Password, you can reference this [documentation](https://bitbucket.org/account/settings/app-passwords/).

As you have identified, the command expects the username, not the email ID. You can get the username from your [personal settings](https://bitbucket.org/account/settings/) of Bitbucket.   

I hope this helps.  

Regards,  
Karthick S


Tags: bitbucket-cloud

cloud

import
Gmail problems with email:notify
Asked by Malte Begerau:

Hey,

I was using the email:notify pipe with a gmail account. In the google account I had to set the security option "Less secure app access" to "on". On May 30, 2022, this setting will no longer be available. Right now I have changed to another smtp provider. Is there a way to solve this issue with gmail? Otherwise you probably should remove it from the documentation.

Thanks a lot and have a nice day


Answers:
author: Ben
body: Hey Malte,

Thank you for raising this to our attention. I have raised a feature request with our development team to find potential solutions for this change - please feel free to "Watch" and "Vote" on this ticket to receive future updates related to it, at present there is no workaround:  
<https://jira.atlassian.com/browse/BCLOUD-21817>

Cheers!

- Ben (Bitbucket Cloud Support)

comments: author: Malte Begerau
body: Yeah well, I guess gmail will simply not work anymore. Thanks for your time!


author: lissyaka
body: Hi [@Malte Begerau](/t5/user/viewprofilepage/user-id/2731137) , [@Ben](/t5/user/viewprofilepage/user-id/4537226) .  
Our Atlassian pipe team released new version of pipe [email-notify:0.7.0](https://bitbucket.org/atlassian/email-notify/src/0.7.0/), which explains how to use your gmail accounts in near future.  
You need to [set up google app passwords](https://support.google.com/mail/answer/185833?hl=en-GB).  

[@Ben](/t5/user/viewprofilepage/user-id/4537226): [this issue](https://jira.atlassian.com/browse/BCLOUD-21817) can be marked as Done.

Cheers.


Tags: bitbucket-cloud

cloud

email

notification
Attachment broken in email:notify
Asked by Malte Begerau:

Hello,

I'm using the email:notify pipe to send a monthly report. It works but for some reason the attachment (csv file) is recognized as broken by Thunderbird email client. If I install the "show all body parts" plugin in Thunderbird I can see and open the csv file. This addon is only required if there is a structural problem with attachments.

I know this is kind of a specific problem, but maybe you can fix it.

Here are screenshots of the email source and the pipe:  
![screenshot.png](https://community.atlassian.com/t5/image/serverpage/image-id/191439i934517AB814BB45D/image-size/large?v=v2&px=999 "screenshot.png")![pipe.png](https://community.atlassian.com/t5/image/serverpage/image-id/191440i106CDD0FF83E67E3/image-size/large?v=v2&px=999 "pipe.png")

Thank you and have a nice day!


Answers:
author: Ben
body: Hey Malte,

Does this affect all mail clients? Are you able to try to send an attachment to a Gmail account or another email provider for example to test?

Cheers!

- Ben (Bitbucket Cloud Support)

comments: author: Malte Begerau
body: Hey Ben,

sadly for me it works on iphone mail and on gmail webmail. So I guess it's just not big enough of a problem for you to invest time into this. The thing is, I've never had problems with attachments in Thunderbird in any other context.

Also interesting if I use gmail or Thunderbird itself and forward the same mail to myself again, then it works. So I guess there is something weird about the email from the pipe that Thunderbird can't handle but other mail clients do fix it automatically.

If someone has the time to look into this or if someone has the same problem, here are the mail source codes from my forwards to myself that **do** work in Thunderbird with basically the same content and attachment but slightly different structure/headers.

Maybe there is someone out there that knows a little bit more about email source code and how it should look like. The only differences I see are that the pipe mail has this MIME-Version header and that the plain and html content are base64 encoded in the pipe mail.

forward from gmail:

![gmail.png](https://community.atlassian.com/t5/image/serverpage/image-id/191683i1B70DB9ED1EC0A6B/image-size/large?v=v2&px=999 "gmail.png")

forward from Thunderbird:

![thunderbird.png](https://community.atlassian.com/t5/image/serverpage/image-id/191682i8A0BD29142FD91B7/image-size/large?v=v2&px=999 "thunderbird.png")

PS: I tried some stuff, like attaching a txt file instead of a csv file and/or creating an html file to use with BODY_HTML, but the outcome was always the same.


author: Ben
body: Hey Malte,

The issue appears to be Thunderbird specific so unfortunately, this is out of my depth of expertise :/

Hopefully someone has ran into the same issue in the past and has some advice for you, alternatively, the Mozilla community might be helpful as well.

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud

email

notification
Unable to push or clone code because of Authentication failed.
Asked by dinicolae:

I forgot my bitbucket password. I tried to reset it. Looks like it is possible to reset it only for the case when I log in using my email and password, but for git I need to log in using the username and password and that is a different password. How do I reset that password?

In the past there was an option to log in to bitbucket with username instead of email and it would be nice to see that back. It was possible to reset the password from there. Now it is very confusing.


Answers:
author: Karthick S
body: Hello [@dinicolae](/t5/user/viewprofilepage/user-id/2422278)

Could you please try resetting the password from the below link:

* Enter the email ID in <https://bitbucket.org/account/password/reset/> -\> Send Reset mail -\> Continue
* Re-enter the email ID to get the recovery mail

I hope this helps.  

Kind regards,  
Karthick S


Tags: bitbucket-cloud

cloud
Bitbucket pipeline skipping step even though there is change
Asked by Abhishek K J:

I have given the following condition, where a step should run only when there is a change in folder  

```
  condition:
    changestes:
      includePaths:
        - "webapp/**"
```

<br />

It has been working fine.  

Couple of days back I had raised a PR, which ran the pipeline fine.  
As there was a change in webapp folder, it ran the step.  

But when I merged the PR to branch, even though there was a change in webapp folder,  
it skipped the step in pipeline.  

Previously it was working fine, on same day for a different pipeline, the step ran when merged to branch.  

I am confused as to why the step is not running in this particular case.  
Reran the pipeline multiple times but still the same issue.  
Has anyone faced similar issues?


Answers:
author: Ben
body: Hey Abhishek,

I have noticed that there is a typo in the output that you have provided ("changestes" should be "changesets") - I'm not sure if this is present in your pipelines yml or if this was simply a typo when raising this ticket but this will need to be corrected if it is the former.

Additionally, when referencing a glob pattern in "includePaths" please refer to the following documentation, the syntax specifies single quotes to be used rather than double quotes:  
<https://support.atlassian.com/bitbucket-cloud/docs/use-glob-patterns-on-the-pipelines-yaml-file/>

Hope this helps.

Cheers!

- Ben (Bitbucket Cloud Support)

comments: author: Drew Heasman
body: Hi Ben,

Documentation here has double quotes in the example glob pattern - probably needs updating?

<https://support.atlassian.com/bitbucket-cloud/docs/configure-bitbucket-pipelinesyml/#condition>


author: Ben
body: Hey [@Drew Heasman](/t5/user/viewprofilepage/user-id/4213181) - thank you for raising this to our attention, I have reported this accordingly.


Tags: bitbucket-cloud

bitbucket-pipelines

cloud
SSH Key already added
Asked by Will Sheppard:

Hello,

<br />

BITBUCKET is refusing to add my SSH key as it has already been added - but I cannot find the account where that has happened.

From what I understand, I current have 2 accounts -

will@jjrsoftware.co.uk ( my company's account )

will.sheppard@veeasystems.com ( a client's domain in which I have an indentity )

But I can't find my particular SSH key in either.

This is the public part of the key:

<br />

ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICVcIg+7v1QmvUX/hznbHJTnWrv0o0nE9kKUl9n8s0kL will@ryzen  

Thanks


Answers:
author: Ben
body: Hey Will,

As this is a public post - we are unable to share the full name of the workspace on which this SSH key is present due to privacy concerns, but we can give you a good indicator.  
The workspace with the SSH key present is a team (shared) workspace on which you are an administrator - the workspace begins with the letter P and ends in the letter A.

Hope this helps.

Cheers!

- Ben (Bitbucket Cloud Support)

comments: author: Will Sheppard
body: Ben,

Thanks for this - and I cannot believe I didn't check that. I think I'm getting senile...

THanks again

Will.


author: Ben
body: Hey Will,

Not a problem! Hahah it happens to the best of us, glad that was able to help you out :)

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud