Your best friend for file transfer.

Fetch application logoFetch

macOS 10.12 SFTP error: no matching host key type found. Their offer: ssh-dss (1 post)

  • Started 1 year ago by Jim Matthews
  • Jim Matthews Administrator

    A couple Fetch users have reported problems making SFTP connections after upgrading to macOS 10.12 Sierra. They get an error that includes the message:

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

    The problem is that macOS 10.12 deprecates support for one type of SSH public key, referred to as either DSA or DSS keys. One solution to this problem is to change the key in question to use a different algorithm, such as RSA. Another option is to configure SSH to keep allowing DSA/DSS keys. You can do that by issuing the following command in Terminal, replacing HOSTNAME with the hostname of the server you are trying to connect to:

    echo -e "\nHost HOSTNAME\nHostkeyAlgorithms +ssh-dss\n" >> ~/.ssh/config

    Jim Matthews
    Fetch Softworks

    Edited 1 year ago #

Reply

  • Or nickname, if you prefer.
  • This will be kept confidential.
  • This is to ensure that you’re a person, not a spambot.