In my home I created a SSH and cloned the repository by creating a SSH keys. ([email protected]:v3/ixo-vx/XXX/XXX.UI
) After I reach office, when I initiate any of the git process, I am getting an error as :
ssh: connect to host ssh.dev.azure.com port 22: Connection timed out
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Since I am at office, what is the correct I need to do for this?
In case if I create a new clone using https
- it clones fine. there is no issue on new, as well https prompts git
authentication popup. but ssh
doesn't. How to fix this? what is the update I need to do in office?
Thanks in advance.
Just to post the comments as an answer for more references.
In this case, you can use telnet
to validate the network connectivity from your local machine to the remote SSH host. As a result, you have a Connect failed on port 22 error, just check if the corporate firewall or local firewall on the local machine blocking the outbound traffic for port 22 to fix this issue.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With