Can anyone help me with connecting gitlab ce which is connected using the aws ec2 instance using the custom port instead of ssh port
git clone ssh://git@mydomain.example:[port]/path/to/project
or if you want it permanent add it into ~/.ssh/config
file (create if needed)
Host mydomain.example
User git
Port 12345
Even after changing the port details in the configuration file as mentioned still not able to connect