title: ssh: connect to host example.com port 22: Connection refused
body: <p><strong>Goal...</strong></p>
  
  <p>I made a rails app and I want to clone it from git to cpanel. But I got stuck at the ssh login before the cloning step.</p>
  
  <p>How to clone from git
  <a href="https://documentation.cpanel.net/display/CKB/How+to+Host+Git+Repositories+on+a+cPanel+Account#HowtoHostGitRepositoriesonacPanelAccount-Clone" rel="nofollow noreferrer">https://documentation.cpanel.net/display/CKB/How+to+Host+Git+Repositories+on+a+cPanel+Account#HowtoHostGitRepositoriesonacPanelAccount-Clone</a></p>
  
  <p>How to access with ssh
  <a href="https://documentation.cpanel.net/display/CKB/How+to+Access+the+Command+Line" rel="nofollow noreferrer">https://documentation.cpanel.net/display/CKB/How+to+Access+the+Command+Line</a></p>
  
  <p><strong>Error I got...</strong></p>
  
  <p>ssh: connect to host example.com port 22: Connection refused </p>
  
  <p><strong>Possible solution...</strong></p>
  
  <p>I googled and the most of online answers were to edit the port number in /etc/ssh/sshd_config. However, given myself being a beginner, I don't even know how to edit that file. It would be great if anyone could help me with how to edit the file as well as the original issue in the above. Thanks in advance.</p>