title: Jenkins integration with GitLab - port 22: Operation timed out
body: <p>I was trying to create integration between Jenkins and GitLab using this tutorial: <a href="https://docs.bitnami.com/aws/how-to/create-ci-pipeline/" rel="nofollow noreferrer">https://docs.bitnami.com/aws/how-to/create-ci-pipeline/</a>
  (without Step 3: Connect Your Project With The GitLab Repository)</p>
  
  <p>So I have generated public and private keys, public was added in GitLab (Settings > SSH Keys) and private key file content was inserted into text area in Jenkins Project settings (Source Code Management > Credentials > SSH Username with private key > Private key) </p>
  
  <p><a href="https://i.stack.imgur.com/VFP10.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VFP10.png" alt="enter image description here"></a></p>
  
  <p>After that following error appeared:</p>
  
  <p><a href="https://i.stack.imgur.com/L1vzD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/L1vzD.png" alt="enter image description here"></a></p>
  
  <p>what can cause such strange issue? Thanks for help :)</p>