Your best friend for file transfer.

Fetch application logoFetch

Fetch & Sierra - Broken SFTP? (5 posts)

  • Started 7 years ago by Steve
  • Latest reply 6 years ago from Archana
  • Steve Member

    I've tried Fetch 5.7.6 on both 10.11.6 (El Capitan) & 10.12.3 (Sierra). I'm able to connect to my host via SFTP without error on El Capitan, but on Sierra "the connection to the SFTP server could not be established or was lost". According to Fetch, the Server responded with "ssh_dispatch_run_fatal: Connection to XXX port 22: DH GEX group out of range". Fetch preferences are identical between test El Capitan & Sierra computers.

    Any ideas? Thanks.

    Posted 7 years ago #

  • Jim Matthews Administrator

    Hi,

    This web page has some information about this problem: http://serverfault.com/questions/729033/ssh-dh-gex-group-out-of-range

    To work around the problem, try issuing the following command in Terminal (first replace HOSTNAME with the hostname of the server you are trying to connect to):

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

    Let me know if that does not solve the problem.

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 7 years ago #

  • Steve Member

    I tried your specified terminal command first, but nothing changed with Fetch's connection attempt.

    I then tried the terminal commands listed on the linked page (see below). These seemed to alter the known_hosts file in ~/.ssh (where the specified command didn't change anything in that directory at all). I tried Fetch after each command, deleting what was created in known_hosts between the two. Neither helped.

    ssh -o KexAlgorithms=diffie-hellman-group14-sha1 my.host.com
    ssh -v -o HostKeyAlgorithms=ssh-dss -o KexAlgorithms=diffie-hellman-group14-sha1 my.host.com

    What's also weird is that I'm not running into problems with 3 other SFTP client applications on Sierra trying to connect to the same host. I could use the others, but it'd be great if it worked with Fetch too.

    Any other ideas? Thanks.

    Posted 7 years ago #

  • Jim Matthews Administrator

    Hi,

    Did those ssh commands succeed?

    I'm guessing that your other SFTP clients don't use macOS's OpenSSH library. That was upgraded for Sierra, and the newer OpenSSH exposes bugs in some servers.

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 7 years ago #

  • Archana Member

    Thanks for the info .It worked for me.

    Posted 6 years ago #

Reply

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