I cannot clone codes via ssh. #89903
-
I cannot clone codes by running
Then I tested my connection to Github by running command
But these commands worked on another computer (nearly the same internet environment). This issue is happened on Windows. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Verify that port 22 is not blocked by your network or ISP. Some networks restrict outgoing connections on port 22. If necessary, you can try using a different network or contact your network administrator to allow access to port 22. |
Beta Was this translation helpful? Give feedback.
-
If the connection to GitHub is banned by local administrations or if port 22 is blocked, you might need to use alternative methods to access GitHub repositories. As an alternative, you can use the HTTPS URL for your Git remote instead of the SSH URL. Update the remote URL using the following command: |
Beta Was this translation helpful? Give feedback.
Verify that port 22 is not blocked by your network or ISP. Some networks restrict outgoing connections on port 22. If necessary, you can try using a different network or contact your network administrator to allow access to port 22.