After upgrading to OSX 10.14.1 I get sign_and_send_pubkey: no mutual signature supported when trying to use ssh with a certificate

Any ideas? This was fine until I took the update this morning


sign_and_send_pubkey: no mutual signature supported


OSX 10.14.1

MacBook Pro (15-inch, 2018), macOS Mojave (10.14.1)

Posted on Nov 1, 2018 3:34 AM

Reply
10 replies

Nov 2, 2018 12:32 PM in response to FabulousFarrow

This appears to be a bug in OpenSSH 7.8p1 (introduced in: https://github.com/openssh/openssh-portable/commit/4ba0d54794814ec0de1ec87987d0c 3b89379b436 and fixed in https://github.com/openssh/openssh-portable/commit/ebfafd9c7a5b2a7fb515ee95dbe0e 44e11d0a663). I've raised a bug (is it still a radar?) about this (id 45769139) in bugreport.apple.com.


Essentially, because the signature algorithm name doesn't match (because of the invalid "ssh-" on the front in the certificate case), it can't match against the EXT_INFO server-sig-algs sent by the server. It's fixed by OpenSSH 7.9p1.

Nov 2, 2018 12:47 PM in response to FabulousFarrow

Oh wait, I missed that your cert was a DSA one, my other posted fix is only for RSA certificates. Either way, the upgrade in OpenSSH removes ssh-dss and ssh-dss-cert-v01@openssh.com from the default PubkeyAcceptedKeyTypes.


A config:
Host *

PubkeyAcceptedKeyTypes +ssh-dss-cert-v01@openssh.com,ssh-dss

in your ~/.ssh/config should fix the issue.

Nov 2, 2018 1:25 PM in response to mb-m

And I missed the edit window for this, so:


PubkeyAcceptedKeyTypes is a client option, but that won't fix the (RSA) ssh-certificate issue. Unfortunately the fix for that is in code (because you need all the types and options to match correctly).


Because I typed this too quickly (without seeing the reply properly) and because I've spent the last 3 hours debugging the RSA certificate problem, I was too quick to see the deprecated default support for DSA in OpenSSH 7.8p1.


This fix will work for DSA keys on the client, but as per my other reply, you need the ...-cert-v01@... form as well for DSA certificates

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

After upgrading to OSX 10.14.1 I get sign_and_send_pubkey: no mutual signature supported when trying to use ssh with a certificate

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.