High Sierra and ssh: publickey denied

by lars on 6/10/2017

Turns out Apple stopped supporting 1024-bit keys, so you should create new keys. While you do that, you can still access your SSH-hosts with your old key. Add this to ~/.ssh/config :

Host *
    PubkeyAcceptedKeyTypes +ssh-dss

You should then be able to git/ssh to your sites again. But do remember to upgrade, as your old 1024-bit key is vulnerable to the logjam-attack.