diff --git a/README.md b/README.md index b4fc122..a78778f 100644 --- a/README.md +++ b/README.md @@ -48,4 +48,20 @@ Host gitea.iitdh.ac.in which will let you clone this repo as a test. ### Git Push -If git clone has worked, git push should work too. If it does not, it certainly means you do not have write access on the repo you are trying to access. Please don't try to push to this repo, and don't ask for write permissions on this repo. \ No newline at end of file +If git clone has worked, git push should work too. If it does not, it certainly means you do not have write access on the repo you are trying to access. Please don't try to push to this repo, and don't ask for write permissions on this repo. + + +### Update 2020-12-12 from @prb +It seems ssh-rsa is no longer accepted and deprecated in newer systems, +but the IITDh-Gitea server is still using it. +To make ssh work, the .ssh/config should look like this: + +``` +Host * +HostkeyAlgorithms +ssh-rsa +PubkeyAcceptedAlgorithms +ssh-rsa + +Host gitea.iitdh.ac.in +Identityfile ~/.ssh/iitdh-gitea +Port 2222 +```