Your best friend for file transfer.

Fetch application logoFetch

sFTP, not working (13 posts)

  • Started 6 years ago by Webber
  • Latest reply 6 years ago from Webber
  • Webber Member

    I'm having the exact problem as described in thread:
    http://fetchsoftworks.com/ubb/Forum1/HTML/000292.html

    I did reply to the thread but my post doesn't show, that's why I started a new topic.

    Sorry if this counts as double posting.

    p.s. I use 5.3

    [This message has been edited by Webber (edited 04-06-2008).]

    [This message has been edited by Webber (edited 04-06-2008).]

    Posted 6 years ago #

  • Scott McGuire Administrator

    Hi,

    Sometimes new posts on the message board do not show up unless you reload/refresh the webpage in your browser. If your reply to this message does not seem to be showing up, try reloading/refreshing in order to see it.

    I realize you say that you are seeing the same problem, but we'd like some more information just to confirm that it is the same. While the behavior may appear to be the same, the cause of the problem may be different.

    First, can you connect successfully using the command-line SFTP client? (We can provide instructions on how to use that if you are not familiar with it.)

    Second, could you please send us the transcript of an attempt to connect using Fetch?

    After you try to connect and you get the error message, could you please choose Fetch Transcript from the Window menu, copy the entire contents of the transcript window, and paste them into a reply to this message?

    Thanks,

    Scott McGuire
    Fetch Softworks

    Posted 6 years ago #

  • Webber Member

    Hi,

    Sometimes new posts on the message board do not show up unless you reload/refresh the webpage in your browser. If your reply to this message does not seem to be showing up, try reloading/refreshing in order to see it.

    Did try that, but it doesn't seem to work :()

    First, can you connect successfully using the command-line SFTP client? (We can provide instructions on how to use that if you are not familiar with it.)

    Connecting using the command-line is no problem.

    Second, could you please send us the transcript of an attempt to connect using Fetch?

    After you try to connect and you get the error message, could you please choose Fetch Transcript from the Window menu, copy the entire contents of the transcript window, and paste them into a reply to this message?

    Here you go:

    Fetch 5.3 (5D161) PowerPC running on Mac OS X 10.4.11 (8S165) PowerPC Dutch
    StuffIt Engine 0x820, StuffIt SDK Version 10.1.1b1
    Partial serial FETCH5X001-BXND-XVQL T
    Connecting to root@12.34.567.89 port 123 (07-04-2008 16:36:01)
    SSH2_FXP_INIT 3

    Posted 6 years ago #

  • Scott McGuire Administrator

    Hi,

    Thanks for the additional information.

    Could you please try the following?

    In the Terminal, could you please try typing the following command:

    /usr/bin/ssh user@host

    (replacing user and host with the same username and hostname that you are trying to connect to with Fetch)

    and let us know if it connects successfully? And if it does not, what errors it reports?

    Thanks,

    Scott McGuire
    Fetch Softworks

    Posted 6 years ago #

  • Webber Member

    It says:

    connect to host 12.34.567.89 port 22: Connection refused

    Problem is, the ssh port is a different one; I have submitted it to Fetch's connection specs when trying to connect though.

    When I try
    /usr/bin/ssh user@host -p 123

    It asks me for the password again.
    After that I can fill in a command line again.

    Posted 6 years ago #

  • Scott McGuire Administrator

    Hi,

    So, you're saying that you can connect successfully when you type:

    /usr/bin/ssh user@host -p 123

    is that correct?

    Thanks,

    Scott McGuire
    Fetch Softworks

    Posted 6 years ago #

  • Webber Member

    That is correct yes.

    Posted 6 years ago #

  • Webber Member

    Or am I wrong somehow?

    Isn't it possible to access the var/ directory on a server through Fetch?

    Posted 6 years ago #

  • Scott McGuire Administrator

    Hi,

    Fetch uses /usr/bin/ssh to make its SFTP connection, so if you can connect with /usr/bin/ssh, you should be able to connect successfully with Fetch.

    Whether you can access the var/ directory on a server through Fetch would depend on the server. If you are specifying var/ in the Initial folder field of Fetch's New Connection dialog, I would try leaving the Initial folder field blank and see if you can connect successfully then.

    Have you been able to connect to this server successfully with Fetch on this Mac previously?

    And what is the exact error message you are receiving from Fetch? If you'd like to send us a screenshot, you can send it to us at:

    bb at fetchsoftworks dot com

    Thanks,

    Scott McGuire
    Fetch Softworks

    Posted 6 years ago #

  • Webber Member

    I didn't have a previous ssh connection working with fetch. FTP is no problem.

    I leave the initial directory blanc.

    The message I receive (translated to english) is:
    SFTP-connetion with 12.34.567.89 could not be established becuase no connection with the SFTP-server could be made or the connection was ended.

    Posted 6 years ago #

  • Scott McGuire Administrator

    Hi,

    Could you please do the following? This will give a detailed log of Fetch's attempt to connect with the SFTP server. I apologize that these instructions are in English only; I do not know all the Dutch terms for them.

    * Open Fetch.
    * Type Command-Control-Option-Shift-D. (Yes, hold down all 5 keys at once!) This will enable Fetch's Debug menu.
    * Then go to the Debug menu, and choose Logging > SFTP Log.
    * Try to connect to the server.
    * And then email us your system.log file. To find the system.log file, choose "Go to Folder..." from the Go menu in the Finder and enter "/var/log" (without the quotes). The system.log file will be in the folder that opens.

    Please email the system log to:

    bugs at fetchsoftworks dot com

    Also, if you could send us an unedited transcript to the address above as well, that would be helpful too.

    Thanks, and let me know if you have any questions about the above.

    Scott McGuire
    Fetch Softworks

    Posted 6 years ago #

  • Webber Member

    Hi Scott,

    English is not a problem, neither are dutch and german :)

    I have mailed the files as requested.
    Thanks

    Posted 6 years ago #

  • Webber Member

    There is something strange going on, I did some searching on the internet and the following commands were suggested:

    /usr/bin/ssh -1 root@your_computers_ip

    I tried and this is the outcome:
    Protocol major versions differ: 1 vs. 2

    and

    /usr/bin/ssh -2 root@your_computers_ip

    I tried and this is the outcome:
    Connection closed by your_computers_ip

    I then altered the ssh_config file and uncommented 'Protocol 2,1' like suggested there, but no good either :()

    [This message has been edited by Webber (edited 04-09-2008).]

    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.