# \[solved\] SSH cloning times out

**URL:** <https://forum.gitea.com/t/solved-ssh-cloning-times-out/195>\
**Category:** Install/Maintain/Configure\
**Created:** [February 2, 2018, 11:19am UTC](https://forum.gitea.com/t/solved-ssh-cloning-times-out/195 "2018-02-02T11:19:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jof](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/jof/32/150_2.png) [@jof](https://forum.gitea.com/u/jof)\
**Post date:** [February 2, 2018, 11:19am UTC](https://forum.gitea.com/t/solved-ssh-cloning-times-out/195/1 "2018-02-02T11:19:57Z")

</div>

Hi everyone,

I ran into a strange problem with my new gitea installation, namely cloning via SSH gets stuck without error message, e.g.

```
$ git clone --verbose git@example.com:test/test.git
Cloning into 'test'...

```

This process never finishes. Unfortunately, I don’t have much information to offer since there are no error messages, logs are empty and everything seems normal except it doesn’t finish. Gitea is installed on Ubuntu 14.04 using [DigitalOcean’s tutorial](https://www.digitalocean.com/community/tutorials/how-to-set-up-gogs-on-ubuntu-14-04), git version 1.9.1. I can ssh into [git@example.com](mailto:git@example.com) normally as well.

Has anyone ever had some issue like that or can point me to how to closer examine this problem?

Many thanks,  
Jof

P.S. Gitea is awesome work btw 🙂

---

<div class="post-metadata">

**Author:** ![jof](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/jof/32/150_2.png) [@jof](https://forum.gitea.com/u/jof)\
**Post date:** [February 2, 2018, 11:50am UTC](https://forum.gitea.com/t/solved-ssh-cloning-times-out/195/2 "2018-02-02T11:50:10Z")

</div>

It looks like I solved the issue. I just set a dfifferent DNS hostname for the server [git.example.com](http://git.example.com), now it works. It must have been something with the network’s DNS configuration.

Thanks,  
Jof

---

<div class="post-metadata">

**Author:** ![yadgen](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/yadgen/32/4732_2.png) [@yadgen](https://forum.gitea.com/u/yadgen)\
**Post date:** [April 25, 2018, 2:08pm UTC](https://forum.gitea.com/t/solved-ssh-cloning-times-out/195/3 "2018-04-25T14:08:32Z")

</div>

I also met the same problem with you. How did you solve it?

---

<div class="post-metadata">

**Author:** ![jof](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/jof/32/150_2.png) [@jof](https://forum.gitea.com/u/jof)\
**Post date:** [April 25, 2018, 5:35pm UTC](https://forum.gitea.com/t/solved-ssh-cloning-times-out/195/4 "2018-04-25T17:35:40Z")

</div>

As I said, I just used a dedicated domain name [example.com](http://example.com) -\> [git.example.com](http://git.example.com)
