git - Trying to push to BitBucket but I get "master conq: repository access denied." "fatal: The remote end hung up unexpectedly" -
i'm doing push changes bitbucket repository:
$: git push origin master conq: repository access denied. fatal: remote end hung unexpectedly
what error mean , how fix it?
debug info bitbucket: ssh -t -v git@bitbucket.org
openssh_5.3p1, openssl 1.0.0-fips 29 mar 2010 debug1: reading configuration data /etc/ssh/ssh_config debug1: applying options * debug1: connecting bitbucket.org [131.103.20.167] port 22. debug1: connection established. debug1: permanently_set_uid: 0/0 debug1: identity file /root/.ssh/identity type -1 debug1: identity file /root/.ssh/identity-cert type -1 debug1: identity file /root/.ssh/id_rsa type 1 debug1: identity file /root/.ssh/id_rsa-cert type -1 debug1: identity file /root/.ssh/id_dsa type -1 debug1: identity file /root/.ssh/id_dsa-cert type -1 debug1: remote protocol version 2.0, remote software version openssh_5.3 debug1: match: openssh_5.3 pat openssh* debug1: enabling compatibility mode protocol 2.0 debug1: local version string ssh-2.0-openssh_5.3 debug1: ssh2_msg_kexinit sent debug1: ssh2_msg_kexinit received debug1: kex: server->client aes128-ctr hmac-md5 none debug1: kex: client->server aes128-ctr hmac-md5 none debug1: ssh2_msg_kex_dh_gex_request(1024<1024<8192) sent debug1: expecting ssh2_msg_kex_dh_gex_group debug1: ssh2_msg_kex_dh_gex_init sent debug1: expecting ssh2_msg_kex_dh_gex_reply debug1: host 'bitbucket.org' known , matches rsa host key. debug1: found key in /root/.ssh/known_hosts:5 debug1: ssh_rsa_verify: signature correct debug1: ssh2_msg_newkeys sent debug1: expecting ssh2_msg_newkeys debug1: ssh2_msg_newkeys received debug1: ssh2_msg_service_request sent debug1: ssh2_msg_service_accept received debug1: authentications can continue: publickey debug1: next authentication method: publickey debug1: trying private key: /root/.ssh/identity debug1: offering public key: /root/.ssh/id_rsa debug1: remote: forced command: conq deploykey:435246 debug1: remote: port forwarding disabled. debug1: remote: x11 forwarding disabled. debug1: remote: agent forwarding disabled. debug1: remote: pty allocation disabled. debug1: server accepts key: pkalg ssh-rsa blen 277 debug1: read pem private key done: type rsa debug1: remote: forced command: conq deploykey:435246 debug1: remote: port forwarding disabled. debug1: remote: x11 forwarding disabled. debug1: remote: agent forwarding disabled. debug1: remote: pty allocation disabled. debug1: authentication succeeded (publickey). debug1: channel 0: new [client-session] debug1: requesting no-more-sessions@openssh.com debug1: entering interactive session. debug1: sending environment. debug1: sending env lang = en_us.utf-8 authenticated via agent_smith. can use git or hg connect bitbucket. shell access disabled. deploy key has read access following repositories: myserver/scripts: root@myserver.stuff.com -- root@myserver.stuff.com debug1: client_input_channel_req: channel 0 rtype exit-status reply 0 debug1: client_input_channel_req: channel 0 rtype eow@openssh.com reply 0 debug1: channel 0: free: client-session, nchannels 1 transferred: sent 2440, received 3032 bytes, in 0.0 seconds bytes per second: sent 58903.0, received 73194.2 debug1: exit status 0
it's problem has authenticated user agent_smith
above.
in term of ssh access (like ssh bitbucket repo address similar ssh://git@bitbucket.org/accountname/reponame.git
, double-check:
- the page "using ssh protocol bitbucket" , "troubleshooting ssh issues bitbucket"
- the case used in address (case-sensitive)
- the nature of ssh key (is password protected? did nadd ssh-agent?)
- the number of ssh keys (if have several keys, need declare them in
~/.ssh/config
file, or can follow this answer)
note: on windows, environment variable home
isn't defined default. make sure is.
Comments
Post a Comment