• caglararli@hotmail.com
  • 05386281520

Configuration option PubkeyAcceptedKeyTypes vs PubkeyAcceptedAlgorithms?

Çağlar Arlı      -    17 Views

Configuration option PubkeyAcceptedKeyTypes vs PubkeyAcceptedAlgorithms?

I'm using OpenSSH 8.9p1. I'm trying to connect to a git via SSH, and I'm getting

no matching host key type found. Their offer: ssh-rsa

I was able to fix the problem by adding the following to my ~/.ssh/config

Host git.host.net   
    User git
    PubkeyAcceptedAlgorithms +ssh-rsa
    HostkeyAlgorithms +ssh-rsa

But some places online call for using PubkeyAcceptedKeyTypes. What does this do? I don't even see documented in man ssh?