I have installed Bitbucket server behind nginx. Everything is working except SSH connections to my repository. If i try:
git clone ssh://git@domain.com:7999/wp/news.git
I am getting the following error:
Cloning into 'news'...
ssh: connect to host git.domain.com port 7999: Operation timed out
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
I have successfully enabled SSH in the settings page: https://yadi.sk/i/Ru6Q4E09xvCiM
If i try to connect without mentioning port 7999 i am asked for a password, but none of them works. My Bitbucket server works behind nginx.