# Running git commands in private repo inside docker not working correctly

**URL:** <https://meta.discourse.org/t/running-git-commands-in-private-repo-inside-docker-not-working-correctly/67321>\
**Category:** Development\
**Created:** [August 2, 2017, 1:33pm UTC](https://meta.discourse.org/t/running-git-commands-in-private-repo-inside-docker-not-working-correctly/67321 "2017-08-02T13:33:01Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![net\_deamon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/net_deamon/32/70126_2.png) [@net\_deamon](https://meta.discourse.org/u/net_deamon)\
**Post date:** [August 4, 2017, 4:35pm UTC](https://meta.discourse.org/t/running-git-commands-in-private-repo-inside-docker-not-working-correctly/67321/5 "2017-08-04T16:35:55Z")

</div>

I got the key. Here are the logs

```
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering RSA public key: /root/.ssh/id_rsa
debug1: Server accepts key: pkalg ssh-rsa blen 279
debug1: Authentication succeeded (publickey).
Authenticated to bitbucket.org ([104.XXX.XXX.1]:22).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: pledge: network
debug1: Sending environment.
debug1: Sending env LANG = en_US.UTF-8
PTY allocation request failed on channel 0
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
authenticated via a deploy key.

You can use git or hg to connect to Bitbucket. Shell access is disabled.

```

---

_[View the full topic](https://meta.discourse.org/t/running-git-commands-in-private-repo-inside-docker-not-working-correctly/67321)._
