Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Dev0ps's avatar

how to add ssh-key in GitHub to establish connection in between digital ocean and local computer

C:\xampp\htdocs\host\admin>git remote -v
production      ssh://root@****.com/var/repo/site.git (fetch)
production      ssh://root@****.com/var/repo/site.git (push)
root    ****.com (fetch)
root    ****.com (push)

C:\xampp\htdocs\host\admin>git push production master
ssh: connect to host ****.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.

As per our client, i hide domain name

0 likes
1 reply

Please or to participate in this conversation.