• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

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