From 21e2840bd11210f771874169701b0f215c5625ed Mon Sep 17 00:00:00 2001 From: Abhijit Kshirsagar Date: Mon, 12 Dec 2022 22:02:15 +0530 Subject: [PATCH] Updates about deprecated ssh-rsa --- README.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) 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 +```