Hello! I’m facing an issue with accessing a private Bitbucket repository over SSH. The repository definitely exists, the user and group permissions (Write) are correctly assigned, and the SSH key is added to the Workspace settings.
git remote -v
origin git@bitbucket.org:3dscorpion7/myerp3.git (fetch)
origin git@bitbucket.org:3dscorpion7/myerp3.git (push)
The test command ssh "test" looks good when I execute the following:
ssh -Tv git@bitbucket.org
I get:
OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2
debug1: Reading configuration data C:\\Users\\elena/.ssh/config
debug1: Reading configuration data C:/Users/elena/.platformsh/ssh/session.config
debug1: C:/Users/elena/.platformsh/ssh/session.config line 5: include C:/Users/elena/.platfo
rmsh/.session/sess-cli-default/ssh/config matched no files
debug1: C:\\Users\\elena/.ssh/config line 4: Applying options for *
debug1: Connecting to bitbucket.org [185.166.143.48] port 22.
debug1: Connection established.
debug1: identity file C:\\Users\\elena/.ssh/id_rsa type 0
debug1: identity file C:\\Users\\elena/.ssh/id_rsa-cert type -1
debug1: identity file C:\\Users\\elena/.ssh/id_ecdsa type -1
debug1: identity file C:\\Users\\elena/.ssh/id_ecdsa-cert type -1
debug1: identity file C:\\Users\\elena/.ssh/id_ecdsa_sk type -1
debug1: identity file C:\\Users\\elena/.ssh/id_ecdsa_sk-cert type -1
debug1: identity file C:\\Users\\elena/.ssh/id_ed25519 type 3
debug1: identity file C:\\Users\\elena/.ssh/id_ed25519-cert type -1
debug1: identity file C:\\Users\\elena/.ssh/id_ed25519_sk type -1
debug1: identity file C:\\Users\\elena/.ssh/id_ed25519_sk-cert type -1
debug1: identity file C:\\Users\\elena/.ssh/id_xmss type -1
debug1: identity file C:\\Users\\elena/.ssh/id_xmss-cert type -1
debug1: identity file C:\\Users\\elena/.ssh/id_dsa type -1
debug1: identity file C:\\Users\\elena/.ssh/id_dsa-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_for_Windows_9.5
debug1: Remote protocol version 2.0, remote software version conker_20251112-0a0e7c6dc1 adda
b3cd875a
debug1: compat_banner: no match: conker_20251112-0a0e7c6dc1 addab3cd875a
debug1: Authenticating to bitbucket.org:22 as 'git'
debug1: load_hostkeys: fopen C:\\Users\\elena/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen __PROGRAMDATA__\\ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen __PROGRAMDATA__\\ssh/ssh_known_hosts2: No such file or director
y
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: curve25519-sha256@libssh.org
debug1: kex: host key algorithm: ssh-ed25519
debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compressio
n: none
debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compressio
n: none
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: SSH2_MSG_KEX_ECDH_REPLY received
debug1: Server host key: ssh-ed25519 SHA256:ybgmFkzwOSotHTHLJgHO0QN8L0xErw6vd0VhFA9m3SM
debug1: load_hostkeys: fopen C:\\Users\\elena/.ssh/known_hosts2: No such file or directory
debug1: load_hostkeys: fopen __PROGRAMDATA__\\ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen __PROGRAMDATA__\\ssh/ssh_known_hosts2: No such file or director
y
debug1: Host 'bitbucket.org' is known and matches the ED25519 host key.
debug1: Found key in C:\\Users\\elena/.ssh/known_hosts:74
debug1: rekey out after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: rekey in after 134217728 blocks
debug1: get_agent_identities: ssh_get_authentication_socket: No such file or directory
debug1: Will attempt key: C:\\Users\\elena/.ssh/id_rsa RSA SHA256:zl9J/TvF5vpac8augDzdMh+X7h
P36aUkybPEfd2DTGU
debug1: Will attempt key: C:\\Users\\elena/.ssh/id_ecdsa
debug1: Will attempt key: C:\\Users\\elena/.ssh/id_ecdsa_sk
debug1: Will attempt key: C:\\Users\\elena/.ssh/id_ed25519 ED25519 SHA256:y4LLxiTwnSRI29vtaw
IBZKgthJrBJsAcHp/8iwsl0kw
debug1: Will attempt key: C:\\Users\\elena/.ssh/id_ed25519_sk
debug1: Will attempt key: C:\\Users\\elena/.ssh/id_xmss
debug1: Will attempt key: C:\\Users\\elena/.ssh/id_dsa
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info: server-sig-algs=<ssh-rsa,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384
,ecdsa-sha2-nistp521,ssh-rsa-cert-v01@openssh.com,ssh-dss-cert-v01@openssh.com,rsa-sha2-256,
rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@o
penssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com>
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering public key: C:\\Users\\elena/.ssh/id_rsa RSA SHA256:zl9J/TvF5vpac8augDzdMh+
X7hP36aUkybPEfd2DTGU
debug1: Server accepts key: C:\\Users\\elena/.ssh/id_rsa RSA SHA256:zl9J/TvF5vpac8augDzdMh+X
7hP36aUkybPEfd2DTGU
Authenticated to bitbucket.org ([185.166.143.48]:22) using "publickey".
debug1: channel 0: new session [client-session] (inactive timeout: 0)
debug1: Entering interactive session.
debug1: pledge: filesystem
debug1: client_input_global_request: rtype hostkeys-00@openssh.com want_reply 0
debug1: client_input_hostkeys: searching C:\\Users\\elena/.ssh/known_hosts for bitbucket.org
/ (none)
debug1: client_input_hostkeys: searching C:\\Users\\elena/.ssh/known_hosts2 for bitbucket.or
g / (none)
debug1: client_input_hostkeys: hostkeys file C:\\Users\\elena/.ssh/known_hosts2 does not exi
st
debug1: client_input_hostkeys: no new or deprecated keys from server
debug1: pledge: fork
authenticated via ssh key.
You can use git to connect to Bitbucket. Shell access is disabled
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug1: channel 0: free: client-session, nchannels 1
Transferred: sent 2672, received 2376 bytes, in 0.3 seconds
Bytes per second: sent 10007.5, received 8898.9
debug1: Exit status 0
However, any git push, git fetch, or git ls-remote commands fail with this error:
git push origin master
The requested repository either does not exist or you do not have access. If you believe thi
s repository exists and you have access, make sure you're authenticated.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
The requested repository either does not exist or you do not have access. Could not read from remote repository.
I have tried clearing Credential Manager, refreshing SSH keys, switching remote URLs (HTTPS/SSH), deleting and recreating SSH keys, etc. The issue persists only for this specific repository.
I would appreciate help diagnosing this issue. Could it be related to the repository itself, Workspace ID, or some internal Bitbucket access constraints?
Thank you in advance for your support!