Your best friend for file transfer.

Fetch application logoFetch

SFTP Connection Could Not Be Established (2 posts)

  • Started 3 days ago by Tim
  • Latest reply 13 hours ago from Jim Matthews
  • Tim Member

    This month I've started seeing an error when trying to connect to an SFTP.

    Server responded: “Unable to negotiate with $IPADDRESS port 22: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1,diffie-hellman-group14-sha1"

    I know the hostname, username, password, and authentication method are all correct because Transmit is able to connect just fine.

    Any suggestions on how I can resolve this issue in Fetch?

    Edited 3 days ago #

  • Jim Matthews Administrator

    Hi,

    The problem is that by default your version of macOS does not use the SSH key exchange methods supported by your SFTP server (Apple made this change to improve security). You may want to ask your SFTP server administrator to upgrade to allow key exchange methods. Otherwise you can work around this change by doing the following:

    1) Choose Utilities from the Go menu in the Finder
    2) Open Terminal
    3) Enter the following (replacing HOSTNAME with your server's hostname):

    echo -e "\nHost HOSTNAME \nKexAlgorithms diffie-hellman-group14-sha1\n" >> ~/.ssh/config

    and press Return.

    Please let me know if that does not work.

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 13 hours ago #

Reply

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