Updates about deprecated ssh-rsa
This commit is contained in:
parent
d4e55469c8
commit
21e2840bd1
18
README.md
18
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.
|
||||
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
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue