We are not able to push from eclipse to bitbucket. It used to work earlier. Now none of the users are able to push code from eclipse. We get the error "push not permitted"
Hello @Jahan Kadhar
and thank you for reaching out to Community!
That error is usually related to authentication issues. Could you confirm if you have eclipse configured to use SSH or HTTPS protocol when pushing to the repository?
Based on the protocol being used, I would suggest the following :
ssh -Tvvv git@bitbucket.org
Thank you, @Jahan Kadhar !Patrik S
Hi,
my eclipse is configured to use SSH. The bitbucket url in my eclipse looks like below.
git@bitbucket.org:WORKSPACE/REPOSITORY.git
All the team members are using the same SSH mechanism. We were able to pull and push to multiple repositories using this. However in the last few weeks only pull is working and push is not working. When we push there is an error that says "Not Permitted". I have also verified that permissions for the users have also beed set to "write". Infact I am pushing as an admin and still same issue.
I went through some of the documentation which mentioned that going forward we will need a Repository Access Token created which will need to be used for push. I was able to create the token but I dont see a way to add this token to the eclipse while pushing. This token seems to be specific to a repository. But when I push from eclipse it only asks for password and not for a token. All the examples I see on the internet are using https and there you can see an option for token. Not sure how I can add the token while pushing a specific repository from the eclipse.
When I try the command "ssh -Tvvv git@bitbucket.org" I see a lot of logs as shown below. I am sure it is connecting to the repository because I am able to pull code. It is only with push that there is a problem.
OpenSSH_for_Windows_7.7p1, LibreSSL 2.6.5debug3: Failed to open file:C:/Users/XXXXX/.ssh/config error:2debug3: Failed to open file:C:/ProgramData/ssh/ssh_config error:2debug2: resolving "bitbucket.org" port 22debug2: ssh_connect_direct: needpriv 0debug1: Connecting to bitbucket.org [104.192.141.1] port 22.debug1: Connection established.debug1: identity file C:\\Users\\XXXXX/.ssh/id_rsa type 0debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_rsa-cert error:2debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_rsa-cert.pub error:2debug1: key_load_public: No such file or directorydebug1: identity file C:\\Users\\XXXXX/.ssh/id_rsa-cert type -1debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_dsa error:2debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_dsa.pub error:2debug1: key_load_public: No such file or directorydebug1: identity file C:\\Users\\XXXXX/.ssh/id_dsa type -1debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_dsa-cert error:2debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_dsa-cert.pub error:2debug1: key_load_public: No such file or directorydebug1: identity file C:\\Users\\XXXXX/.ssh/id_dsa-cert type -1debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_ecdsa error:2debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_ecdsa.pub error:2debug1: key_load_public: No such file or directorydebug1: identity file C:\\Users\\XXXXX/.ssh/id_ecdsa type -1debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_ecdsa-cert error:2debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_ecdsa-cert.pub error:2debug1: key_load_public: No such file or directorydebug1: identity file C:\\Users\\XXXXX/.ssh/id_ecdsa-cert type -1debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_ed25519 error:2debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_ed25519.pub error:2debug1: key_load_public: No such file or directorydebug1: identity file C:\\Users\\XXXXX/.ssh/id_ed25519 type -1debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_ed25519-cert error:2debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_ed25519-cert.pub error:2debug1: key_load_public: No such file or directorydebug1: identity file C:\\Users\\XXXXX/.ssh/id_ed25519-cert type -1debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_xmss error:2debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_xmss.pub error:2debug1: key_load_public: No such file or directorydebug1: identity file C:\\Users\\XXXXX/.ssh/id_xmss type -1debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_xmss-cert error:2debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_xmss-cert.pub error:2debug1: key_load_public: No such file or directorydebug1: identity file C:\\Users\\XXXXX/.ssh/id_xmss-cert type -1debug1: Local version string SSH-2.0-OpenSSH_for_Windows_7.7debug1: Remote protocol version 2.0, remote software version conker_5933d25285 426e976cb448debug1: no match: conker_5933d25285 426e976cb448debug2: fd 3 setting O_NONBLOCKdebug1: Authenticating to bitbucket.org:22 as 'git'debug3: hostkeys_foreach: reading file "C:\\Users\\XXXXX/.ssh/known_hosts"debug3: record_hostkey: found key type ECDSA in file C:\\Users\\XXXXX/.ssh/known_hosts:1debug3: record_hostkey: found key type RSA in file C:\\Users\\XXXXX/.ssh/known_hosts:2debug3: load_hostkeys: loaded 2 keys from bitbucket.orgdebug3: Failed to open file:C:/Users/XXXXX/.ssh/known_hosts2 error:2debug3: Failed to open file:C:/ProgramData/ssh/ssh_known_hosts error:2debug3: Failed to open file:C:/ProgramData/ssh/ssh_known_hosts2 error:2debug3: order_hostkeyalgs: prefer hostkeyalgs: ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256,ssh-rsadebug3: send packet: type 20debug1: SSH2_MSG_KEXINIT sentdebug3: receive packet: type 20debug1: SSH2_MSG_KEXINIT receiveddebug2: local client KEXINIT proposaldebug2: KEX algorithms: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1,ext-info-cdebug2: host key algorithms: ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256,ssh-rsa,ssh-ed25519-cert-v01@openssh.com,ssh-ed25519debug2: ciphers ctos: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.comdebug2: ciphers stoc: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.comdebug2: MACs ctos: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1debug2: MACs stoc: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1debug2: compression ctos: nonedebug2: compression stoc: nonedebug2: languages ctos:debug2: languages stoc:debug2: first_kex_follows 0debug2: reserved 0debug2: peer server KEXINIT proposaldebug2: KEX algorithms: curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1,ext-info-sdebug2: host key algorithms: ssh-ed25519,ecdsa-sha2-nistp256,ssh-rsa,rsa-sha2-256,rsa-sha2-512debug2: ciphers ctos: aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,chacha20-poly1305@openssh.comdebug2: ciphers stoc: aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,chacha20-poly1305@openssh.comdebug2: MACs ctos: hmac-sha2-256-etm@openssh.com,hmac-sha2-256,hmac-sha1,hmac-sha1-96debug2: MACs stoc: hmac-sha2-256-etm@openssh.com,hmac-sha2-256,hmac-sha1,hmac-sha1-96debug2: compression ctos: nonedebug2: compression stoc: nonedebug2: languages ctos:debug2: languages stoc:debug2: first_kex_follows 0debug2: reserved 0debug1: kex: algorithm: curve25519-sha256@libssh.orgdebug1: kex: host key algorithm: ecdsa-sha2-nistp256debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: nonedebug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: nonedebug3: send packet: type 30debug1: expecting SSH2_MSG_KEX_ECDH_REPLYdebug3: receive packet: type 31debug1: Server host key: ecdsa-sha2-nistp256 SHA256:FC73VB6C4OQLSCrjEayhMp9UMxS97caD/Yyi2bhW/J0debug3: hostkeys_foreach: reading file "C:\\Users\\XXXXX/.ssh/known_hosts"debug3: record_hostkey: found key type ECDSA in file C:\\Users\\XXXXX/.ssh/known_hosts:1debug3: record_hostkey: found key type RSA in file C:\\Users\\XXXXX/.ssh/known_hosts:2debug3: load_hostkeys: loaded 2 keys from bitbucket.orgdebug3: Failed to open file:C:/Users/XXXXX/.ssh/known_hosts2 error:2debug3: Failed to open file:C:/ProgramData/ssh/ssh_known_hosts error:2debug3: Failed to open file:C:/ProgramData/ssh/ssh_known_hosts2 error:2debug3: hostkeys_foreach: reading file "C:\\Users\\XXXXX/.ssh/known_hosts"debug3: record_hostkey: found key type ECDSA in file C:\\Users\\XXXXX/.ssh/known_hosts:1debug3: load_hostkeys: loaded 1 keys from 104.192.141.1debug3: Failed to open file:C:/Users/XXXXX/.ssh/known_hosts2 error:2debug3: Failed to open file:C:/ProgramData/ssh/ssh_known_hosts error:2debug3: Failed to open file:C:/ProgramData/ssh/ssh_known_hosts2 error:2debug1: Host 'bitbucket.org' is known and matches the ECDSA host key.debug1: Found key in C:\\Users\\XXXXX/.ssh/known_hosts:1debug3: send packet: type 21debug2: set_newkeys: mode 1debug1: rekey after 134217728 blocksdebug1: SSH2_MSG_NEWKEYS sentdebug1: expecting SSH2_MSG_NEWKEYSdebug3: receive packet: type 21debug1: SSH2_MSG_NEWKEYS receiveddebug2: set_newkeys: mode 0debug1: rekey after 134217728 blocksdebug2: key: C:\\Users\\XXXXX/.ssh/id_rsa (000001FC0D45A030), agentdebug2: key: C:\\Users\\XXXXX/.ssh/id_dsa (0000000000000000)debug2: key: C:\\Users\\XXXXX/.ssh/id_ecdsa (0000000000000000)debug2: key: C:\\Users\\XXXXX/.ssh/id_ed25519 (0000000000000000)debug2: key: C:\\Users\\XXXXX/.ssh/id_xmss (0000000000000000)debug3: send packet: type 5debug3: receive packet: type 7debug1: SSH2_MSG_EXT_INFO receiveddebug1: kex_input_ext_info: server-sig-algs=<rsa-sha2-256,rsa-sha2-512,ecdsa-sha2-nistp521,ssh-dss-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ssh-rsa,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ssh-rsa-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com>debug3: receive packet: type 6debug2: service_accept: ssh-userauthdebug1: SSH2_MSG_SERVICE_ACCEPT receiveddebug3: send packet: type 50debug3: receive packet: type 51debug1: Authentications that can continue: publickeydebug3: start over, passed a different list publickeydebug3: preferred publickey,keyboard-interactive,passworddebug3: authmethod_lookup publickeydebug3: remaining preferred: keyboard-interactive,passworddebug3: authmethod_is_enabled publickeydebug1: Next authentication method: publickeydebug1: Offering public key: RSA SHA256:gG7b+T++/D6YBKjWyW/4YU+tAyp2Cr/vtGOT0UTTMk0 C:\\Users\\XXXXX/.ssh/id_rsadebug3: send_pubkey_testdebug3: send packet: type 50debug2: we sent a publickey packet, wait for replydebug3: receive packet: type 60debug1: Server accepts key: pkalg rsa-sha2-512 blen 279debug2: input_userauth_pk_ok: fp SHA256:gG7b+T++/D6YBKjWyW/4YU+tAyp2Cr/vtGOT0UTTMk0debug3: sign_and_send_pubkey: RSA SHA256:gG7b+T++/D6YBKjWyW/4YU+tAyp2Cr/vtGOT0UTTMk0warning: agent returned different signature type ssh-rsa (expected rsa-sha2-512)debug3: send packet: type 50debug3: receive packet: type 52debug1: Authentication succeeded (publickey).Authenticated to bitbucket.org ([104.192.141.1]:22).debug1: channel 0: new [client-session]debug3: ssh_session2_open: channel_new: 0debug2: channel 0: send opendebug3: send packet: type 90debug1: Entering interactive session.debug1: pledge: networkdebug1: console supports the ansi parsingdebug3: Successfully set console output code page from:437 to 65001debug3: Successfully set console input code page from:437 to 65001debug3: receive packet: type 80debug1: client_input_global_request: rtype hostkeys-00@openssh.com want_reply 0debug3: receive packet: type 91debug2: channel_input_open_confirmation: channel 0: callback startdebug2: fd 3 setting TCP_NODELAYdebug2: client_session2_setup: id 0debug2: channel 0: request pty-req confirm 1debug3: send packet: type 98debug2: channel 0: request shell confirm 1debug3: send packet: type 98debug2: channel_input_open_confirmation: channel 0: callback donedebug2: channel 0: open confirm rwindow 2097152 rmax 32768debug2: client_check_window_change: changeddebug2: channel 0: request window-change confirm 0debug3: send packet: type 98debug3: receive packet: type 100debug2: channel_input_status_confirm: type 100 id 0PTY allocation request failed on channel 0debug3: Successfully set console output code page from 65001 to 437debug3: Successfully set console input code page from 65001 to 437
C:\Users\XXXXX>ssh -Tvvv git@bitbucket.orgOpenSSH_for_Windows_7.7p1, LibreSSL 2.6.5debug3: Failed to open file:C:/Users/XXXXX/.ssh/config error:2debug3: Failed to open file:C:/ProgramData/ssh/ssh_config error:2debug2: resolving "bitbucket.org" port 22debug2: ssh_connect_direct: needpriv 0debug1: Connecting to bitbucket.org [104.192.141.1] port 22.debug1: Connection established.debug1: identity file C:\\Users\\XXXXX/.ssh/id_rsa type 0debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_rsa-cert error:2debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_rsa-cert.pub error:2debug1: key_load_public: No such file or directorydebug1: identity file C:\\Users\\XXXXX/.ssh/id_rsa-cert type -1debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_dsa error:2debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_dsa.pub error:2debug1: key_load_public: No such file or directorydebug1: identity file C:\\Users\\XXXXX/.ssh/id_dsa type -1debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_dsa-cert error:2debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_dsa-cert.pub error:2debug1: key_load_public: No such file or directorydebug1: identity file C:\\Users\\XXXXX/.ssh/id_dsa-cert type -1debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_ecdsa error:2debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_ecdsa.pub error:2debug1: key_load_public: No such file or directorydebug1: identity file C:\\Users\\XXXXX/.ssh/id_ecdsa type -1debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_ecdsa-cert error:2debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_ecdsa-cert.pub error:2debug1: key_load_public: No such file or directorydebug1: identity file C:\\Users\\XXXXX/.ssh/id_ecdsa-cert type -1debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_ed25519 error:2debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_ed25519.pub error:2debug1: key_load_public: No such file or directorydebug1: identity file C:\\Users\\XXXXX/.ssh/id_ed25519 type -1debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_ed25519-cert error:2debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_ed25519-cert.pub error:2debug1: key_load_public: No such file or directorydebug1: identity file C:\\Users\\XXXXX/.ssh/id_ed25519-cert type -1debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_xmss error:2debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_xmss.pub error:2debug1: key_load_public: No such file or directorydebug1: identity file C:\\Users\\XXXXX/.ssh/id_xmss type -1debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_xmss-cert error:2debug3: Failed to open file:C:/Users/XXXXX/.ssh/id_xmss-cert.pub error:2debug1: key_load_public: No such file or directorydebug1: identity file C:\\Users\\XXXXX/.ssh/id_xmss-cert type -1debug1: Local version string SSH-2.0-OpenSSH_for_Windows_7.7debug1: Remote protocol version 2.0, remote software version conker_7b6fdbf7c0 4bc7087324eedebug1: no match: conker_7b6fdbf7c0 4bc7087324eedebug2: fd 3 setting O_NONBLOCKdebug1: Authenticating to bitbucket.org:22 as 'git'debug3: hostkeys_foreach: reading file "C:\\Users\\XXXXX/.ssh/known_hosts"debug3: record_hostkey: found key type ECDSA in file C:\\Users\\XXXXX/.ssh/known_hosts:1debug3: record_hostkey: found key type RSA in file C:\\Users\\XXXXX/.ssh/known_hosts:2debug3: load_hostkeys: loaded 2 keys from bitbucket.orgdebug3: Failed to open file:C:/Users/XXXXX/.ssh/known_hosts2 error:2debug3: Failed to open file:C:/ProgramData/ssh/ssh_known_hosts error:2debug3: Failed to open file:C:/ProgramData/ssh/ssh_known_hosts2 error:2debug3: order_hostkeyalgs: prefer hostkeyalgs: ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256,ssh-rsadebug3: send packet: type 20debug1: SSH2_MSG_KEXINIT sentdebug3: receive packet: type 20debug1: SSH2_MSG_KEXINIT receiveddebug2: local client KEXINIT proposaldebug2: KEX algorithms: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1,ext-info-cdebug2: host key algorithms: ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256,ssh-rsa,ssh-ed25519-cert-v01@openssh.com,ssh-ed25519debug2: ciphers ctos: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.comdebug2: ciphers stoc: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.comdebug2: MACs ctos: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1debug2: MACs stoc: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1debug2: compression ctos: nonedebug2: compression stoc: nonedebug2: languages ctos:debug2: languages stoc:debug2: first_kex_follows 0debug2: reserved 0debug2: peer server KEXINIT proposaldebug2: KEX algorithms: curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1,ext-info-sdebug2: host key algorithms: ssh-ed25519,ecdsa-sha2-nistp256,ssh-rsa,rsa-sha2-256,rsa-sha2-512debug2: ciphers ctos: aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,chacha20-poly1305@openssh.comdebug2: ciphers stoc: aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,chacha20-poly1305@openssh.comdebug2: MACs ctos: hmac-sha2-256-etm@openssh.com,hmac-sha2-256,hmac-sha1,hmac-sha1-96debug2: MACs stoc: hmac-sha2-256-etm@openssh.com,hmac-sha2-256,hmac-sha1,hmac-sha1-96debug2: compression ctos: nonedebug2: compression stoc: nonedebug2: languages ctos:debug2: languages stoc:debug2: first_kex_follows 0debug2: reserved 0debug1: kex: algorithm: curve25519-sha256@libssh.orgdebug1: kex: host key algorithm: ecdsa-sha2-nistp256debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: nonedebug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: nonedebug3: send packet: type 30debug1: expecting SSH2_MSG_KEX_ECDH_REPLYdebug3: receive packet: type 31debug1: Server host key: ecdsa-sha2-nistp256 SHA256:FC73VB6C4OQLSCrjEayhMp9UMxS97caD/Yyi2bhW/J0debug3: hostkeys_foreach: reading file "C:\\Users\\XXXXX/.ssh/known_hosts"debug3: record_hostkey: found key type ECDSA in file C:\\Users\\XXXXX/.ssh/known_hosts:1debug3: record_hostkey: found key type RSA in file C:\\Users\\XXXXX/.ssh/known_hosts:2debug3: load_hostkeys: loaded 2 keys from bitbucket.orgdebug3: Failed to open file:C:/Users/XXXXX/.ssh/known_hosts2 error:2debug3: Failed to open file:C:/ProgramData/ssh/ssh_known_hosts error:2debug3: Failed to open file:C:/ProgramData/ssh/ssh_known_hosts2 error:2debug3: hostkeys_foreach: reading file "C:\\Users\\XXXXX/.ssh/known_hosts"debug3: record_hostkey: found key type ECDSA in file C:\\Users\\XXXXX/.ssh/known_hosts:1debug3: load_hostkeys: loaded 1 keys from 104.192.141.1debug3: Failed to open file:C:/Users/XXXXX/.ssh/known_hosts2 error:2debug3: Failed to open file:C:/ProgramData/ssh/ssh_known_hosts error:2debug3: Failed to open file:C:/ProgramData/ssh/ssh_known_hosts2 error:2debug1: Host 'bitbucket.org' is known and matches the ECDSA host key.debug1: Found key in C:\\Users\\XXXXX/.ssh/known_hosts:1debug3: send packet: type 21debug2: set_newkeys: mode 1debug1: rekey after 134217728 blocksdebug1: SSH2_MSG_NEWKEYS sentdebug1: expecting SSH2_MSG_NEWKEYSdebug3: receive packet: type 21debug1: SSH2_MSG_NEWKEYS receiveddebug2: set_newkeys: mode 0debug1: rekey after 134217728 blocksdebug2: key: C:\\Users\\XXXXX/.ssh/id_rsa (00000229AE11B9C0), agentdebug2: key: C:\\Users\\XXXXX/.ssh/id_dsa (0000000000000000)debug2: key: C:\\Users\\XXXXX/.ssh/id_ecdsa (0000000000000000)debug2: key: C:\\Users\\XXXXX/.ssh/id_ed25519 (0000000000000000)debug2: key: C:\\Users\\XXXXX/.ssh/id_xmss (0000000000000000)debug3: send packet: type 5debug3: receive packet: type 7debug1: SSH2_MSG_EXT_INFO receiveddebug1: kex_input_ext_info: server-sig-algs=<ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-rsa-cert-v01@openssh.com,ssh-dss-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com>debug3: receive packet: type 6debug2: service_accept: ssh-userauthdebug1: SSH2_MSG_SERVICE_ACCEPT receiveddebug3: send packet: type 50debug3: receive packet: type 51debug1: Authentications that can continue: publickeydebug3: start over, passed a different list publickeydebug3: preferred publickey,keyboard-interactive,passworddebug3: authmethod_lookup publickeydebug3: remaining preferred: keyboard-interactive,passworddebug3: authmethod_is_enabled publickeydebug1: Next authentication method: publickeydebug1: Offering public key: RSA SHA256:gG7b+T++/D6YBKjWyW/4YU+tAyp2Cr/vtGOT0UTTMk0 C:\\Users\\XXXXX/.ssh/id_rsadebug3: send_pubkey_testdebug3: send packet: type 50debug2: we sent a publickey packet, wait for replydebug3: receive packet: type 60debug1: Server accepts key: pkalg rsa-sha2-512 blen 279debug2: input_userauth_pk_ok: fp SHA256:gG7b+T++/D6YBKjWyW/4YU+tAyp2Cr/vtGOT0UTTMk0debug3: sign_and_send_pubkey: RSA SHA256:gG7b+T++/D6YBKjWyW/4YU+tAyp2Cr/vtGOT0UTTMk0warning: agent returned different signature type ssh-rsa (expected rsa-sha2-512)debug3: send packet: type 50debug3: receive packet: type 52debug1: Authentication succeeded (publickey).Authenticated to bitbucket.org ([104.192.141.1]:22).debug1: channel 0: new [client-session]debug3: ssh_session2_open: channel_new: 0debug2: channel 0: send opendebug3: send packet: type 90debug1: Entering interactive session.debug1: pledge: networkdebug3: receive packet: type 80debug1: client_input_global_request: rtype hostkeys-00@openssh.com want_reply 0debug3: receive packet: type 91debug2: channel_input_open_confirmation: channel 0: callback startdebug2: fd 3 setting TCP_NODELAYdebug2: client_session2_setup: id 0debug2: channel 0: request shell confirm 1debug3: send packet: type 98debug2: channel_input_open_confirmation: channel 0: callback donedebug2: channel 0: open confirm rwindow 2097152 rmax 32768debug3: receive packet: type 99debug2: channel_input_status_confirm: type 99 id 0debug2: shell request accepted on channel 0debug3: receive packet: type 98debug1: client_input_channel_req: channel 0 rtype exit-status reply 0debug3: receive packet: type 96debug2: channel 0: rcvd eofdebug2: channel 0: output open -> draindebug3: receive packet: type 97debug2: channel 0: rcvd closedebug2: channel 0: close_readdebug2: channel 0: input open -> closeddebug3: channel 0: will not send data after closeauthenticated via ssh key.
You can use git to connect to Bitbucket. Shell access is disableddebug3: channel 0: will not send data after closedebug2: channel 0: obuf emptydebug2: channel 0: close_writedebug2: channel 0: output drain -> closeddebug2: channel 0: almost deaddebug2: channel 0: gc: notify userdebug2: channel 0: gc: user detacheddebug2: channel 0: send closedebug3: send packet: type 97debug2: channel 0: is deaddebug2: channel 0: garbage collectings 1
Thanks for sharing the results @Jahan Kadhar ,
I'm not really sure about the eclipse particular configuration, but when it comes to the SSH connection, the logs say you are successfully authenticated with Bitbucket Cloud using the SSH key.
Since you mentioned this issue affects only pull and push, could you confirm where this SSH was added?
I ask this because depending on where in Bitbucket you added the SSH key, it will give different levels of access.
SSH keys added to a user's bitbucket account will have the same permission to repositories that the user does.
On the other hand, access keys added in the project or repository level have only read access. Workspace access keys have read and write access. You can learn more on Difference between Repository, Project and Workspace Access keys .
Thank you, @Jahan Kadhar !
Patrik S
It looks like you're new here. Sign in or register to get started.