• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Forwarded to devs Cannot connect to remote Git repository using custom ssh port

David Alonso

New Pleskian
TITLE:
Cannot connect to remote Git repository using custom ssh port
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE:
Plesk Onyx, 17.8.11 #7, CentOS 6.9, x64
PROBLEM DESCRIPTION:
Connecting to remote Git repository which uses a custom ssh port, allways tries use the ssh default port (22).

upload_2018-7-5_16-31-44.png
STEPS TO REPRODUCE:
1. Go to a domain
2. Select Git
3. Fill git repository address in ssh format especifiying the port used by the remote git repository (not 22).
4. Click Ok.
5. After some seconds the following message apears: ssh: connect to host x port 22: Connection timed out​
ACTUAL RESULT:
Cannot use Git repository connection​
EXPECTED RESULT:
Be able to connect to remote git repository using any ssh port​
ANY ADDITIONAL INFORMATION:
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM:
Help with sorting out
 
Have you tried to specify protocol like ssh://<remote_ip>:2221/repository.git ?
 
Back
Top