Your best friend for file transfer.

Fetch application logoFetch

IP Resolution (5 posts)

  • Started 4 months ago by Allen
  • Latest reply 4 months ago from Allen
  • Allen Member

    I'm curious as to where Fetch (5.8.3) gets IP address resolution.

    I did a connection to a server name, one that I can ping and it resolves to the correct IP address, and I am told that the server rejected my credentials.

    I changed the Fetch connection to use an IP address instead of a server name (I used the IP address that was returned in the pinging), and it worked fine, the connection was established in Fetch.

    I can only conclude that there is some cache maintained internally by Fetch for IP addresses, or they are being resolved using some service/location of which I know not.

    -Allen

    Posted 4 months ago #

  • Jim Matthews Administrator

    Hi,

    For FTP connections Fetch uses Core Foundation to resolve hostnames. For SFTP it's handled by OpenSSH.

    Could you post the contents of the Fetch Transcript window after failing to connect (here or at https://fetchsoftworks.com/fetch/feedback)? I'll see what I can figure out.

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 4 months ago #

  • Allen Member

    Looks like it is a problem related to RSA key pairing on my system:

    ========== START TRANSCRIPT WINDOW =============

    Fetch 5.8.3 (5K1506) Apple Silicon (Web Store) running on macOS 13.6.2 (22G320) English
    Launched at 2023-11-23T18:27:04Z, 11/23/23, 11:27 AM (local)
    Partial serial FETCH55001-NUFD-CBE8 T
    Connecting to root@s9.sharonparq.com port 22 (2023-11-23T18:28:04Z)
    SSH2_FXP_INIT 3
    Unknown server response: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!

    Someone could be eavesdropping on you right now (man-in-the-middle attack)!

    It is also possible that a host key has just been changed.

    The fingerprint for the RSA key sent by the remote host is
    SHA256:epNx2gRBoOO3lUdJ6X8UB37gd105yzobnwocGS+3uaM.

    Please contact your system administrator.

    Add correct host key in /Users/user/.ssh/known_hosts to get rid of this message.

    Offending RSA key in /Users/user/.ssh/known_hosts:50

    Host key for s9.sharonparq.com has changed and you have requested strict checking.

    Host key verification failed.

    SFTP connection to “s9.sharonparq.com” could not be opened because the SFTP server rejected your authentication information. (Contact the server administrator to verify that you have the correct hostname, username, password, and authentication method.)

    ========== END TRANSCRIPT WINDOW =============

    Guess I have to go figure out how to get the RSA key pair deleted on this Mac. Dang it!

    -Allen

    Posted 4 months ago #

  • Jim Matthews Administrator

    Hi,

    You can delete line 50 of your known_hosts file with this Terminal command:

    sed -i -e "50d" ~/.ssh/known_hosts

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 4 months ago #

  • Allen Member

    Thanks for that, Jim. I've now got it fixed.

    -Allen

    Posted 4 months ago #

Reply

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