Repositorio remoto GitLab con un puerto no estándar
Tengo el siguiente error:
ssh: connect to host git.limeworks.eu port 22: Connection refused
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Ahora, la configuración que tengo en mi archivo .ssh / config local es:
host limeworks
user git
port 6565
hostname git.limeworks.eu;
y en el remoto gitlab.yml:
gitlab:
## Web server settings
host: git.limeworks.eu
port: 6565
Además, aquí está la configuración de nginx (/ sites-enabled / gitlab):
server {
listen 80; # e.g., listen 192.168.1.1:80; In most cases *:80 is a good idea
server_name git.limeworks.eu; # e.g., server_name source.example.com;
...
He reiniciado los servicios gitlab y nginx después de cada modificación, ¡pero nada funciona!
Edición: También vale la pena señalar aquí algunos fragmentos de sshd_config del servidor remoto
Port 9595
AllowUsers rrw git