1
0
Fork 0

Updates about deprecated ssh-rsa

This commit is contained in:
Abhijit Kshirsagar Kshirsagar 2022-12-12 22:02:15 +05:30
parent d4e55469c8
commit 21e2840bd1
1 changed files with 17 additions and 1 deletions

View File

@ -48,4 +48,20 @@ Host gitea.iitdh.ac.in
which will let you clone this repo as a test. which will let you clone this repo as a test.
### Git Push ### 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. 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
```