Forums

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

Post Quantum SSH Key Exchange Algorithms

Bryce Larson
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!
October 7, 2025

When doing git clones, pulls, pushes, etc. I'm getting this warning:

```

** WARNING: connection is not using a post-quantum key exchange algorithm.
** This session may be vulnerable to "store now, decrypt later" attacks.
** The server may need to be upgraded. See https://openssh.com/pq.html
```

This leads me to believe that bitbucket servers don't support post quantum key exchange algorithms for ssh access to git.  Can we get that added soon?

5 answers

0 votes
anarchitech
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!
November 26, 2025
ssh -v -F none git@bitbucket.org

Bitbucket is not using a pq algorithm,  using curve25519-sha256 , hence openssh is throwing that warning:

debug1: kex: algorithm: curve25519-sha256@libssh.org

debug1: kex: host key algorithm: rsa-sha2-512

debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none

debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none

 

For comparison, github is running a hybrid pq algorithm, so it's pq compliant and won't throw the warning:

debug1: kex: algorithm: sntrup761x25519-SHA512

debug1: kex: host key algorithm: ssh-ed25519

debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none

debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none

Hybrid Streamlined NTRU Prime sntrup761 and X25519 with SHA-512: sntrup761+x25519+sha512 

 

FWIW, some Linux distros running openssh appear to have incorrect config files and fail to show the warning.   

0 votes
Abhay Gupta
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 3, 2025

We have created a BCLOUD to address this and here is the link to the BCLOUD for your reference:
BCLOUD-23914

Jim Knepley - ReleaseTEAM
Atlassian Partner
November 3, 2025

The issue created makes a good point that you can suppress the warning messages by changing the log level for bitbucket.org in your ssh_config file. It doesn't solve the problem, but could help reduce confusion.

Host bitbucket.org 
    LogLevel ERROR 

 

Kuno Meyer
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!
January 20, 2026

Or more targeted (from OpenSSH PQ FAQ):

Host bitbucket.org
     WarnWeakCrypto no

 

0 votes
Jan Bom Trap
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!
October 30, 2025

I'm experiencing the same Warning on sourcetree enterprice 3.4.45 on windows 11

0 votes
Ben Hubbard
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!
October 14, 2025

I just received this same message too.  Running EndeavourOS Arch Linux on my dev machine and it just upgraded to OpenSSH 10. 

[16:05:01] [hubbaba ~/dev/RampantStrategy(develop)] ➜ ssh -V 
OpenSSH_10.2p1, OpenSSL 3.6.0 1 Oct 2025

This is going to start becoming a common message that people are going to see, so I'd suggest adding it to the roadmap.  Seeing a big warning sign every time I commit just makes me nervous.  

0 votes
Jim Knepley - ReleaseTEAM
Atlassian Partner
October 7, 2025

Hi @Bryce Larson 

I don't have any special insight into the Bitbucket roadmap; it might already be in progress.

It doesn't look like anyone has opened a feature request ticket, if only to be able to watch it age over the years. I would certainly upvote such a feature.

ccenvcvb
Contributor
November 3, 2025

Apperantly I can only create tickets for bitbucket server (BSERV) not for bitbucket cloud.

 

ccenvcvb
Contributor
November 3, 2025

Created a support ticket, asked the support team to create a feature request.

ccenvcvb
Contributor
November 3, 2025

ticket BCLOUD-23914

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
AUG Leaders

Atlassian Community Events