Then, I copied out the public key so I could upload to a sharing service:$ cat ~/.ssh/id_newkey.pub
ssh-rsa AAAAB3NzaC1yxxxxyyyyzzzz123121231jakdljasdasdasdklasjdlakszaC1yxxxxyyyyzzzz123121231jakdljasdasdasdklasjdlakszaC1yxxxxyyyyzzzz123121231jakdljasdasdasdklasjdlakszaC1yxxxxyyyyzzzz123121231jakdljasdasdasdklasjdlakszaC1yxxxxyyyyzzzz123121231jakdljasdasdasdklasjdlaksfTt12MRn Jeff@Skybook-Pro.local

Thanks. I had tried this and didn’t have any success. I tried a few different configurations of the command that I saw online too … just didn’t work for me. Others may have more success. And, I was teased for even considering sticking with dss.

Hi Jeff, thanks for replying and my apologizes for my rushed/peremptory post. The additional PubkeyAcceptedKeyTypes property should be added at the top of the ssh config file and not at the end. It won’t be taken into account, otherwise. My mistake. Using the OSX sed version:

sed -i -e ‘1i
PubkeyAcceptedKeyTypes=+ssh-dss
‘ ~/.ssh/config

I also erased my known_hosts file and did a ssh-add -A

I know that it didn’t work for you, but for the sake of the thread and avoid confusion to some futur readers, i thought i should fix my mistake. Maybe it can help someone, somewhere, someday.

I use Akamai NetStorage areas that currently only support dss keys (they’re aware of the issue and are working to address it). I was able to restore the dss keys to working by adding this to my ~/.ssh/config file…
—————–
Host *.upload.akamai.com
HostKeyAlgorithms +ssh-dss
—————–

After the above didn’t work I took a closer look and found that Apple seemed to be forcing my ‘identity’ which likely caused a key mismatch when connecting to my servers. In ~/.ssh/config I found this: