Your best friend for file transfer.

Fetch application logoFetch

SSH Error Number -1 (7 posts)

This is an archived topic. The information in it is likely to be out-of-date and no longer applicable to current versions of Fetch.
  • Started 9 years ago by jarea
  • Latest reply 9 years ago from Jim Matthews
  • jarea Member

    I have created an SSH connection on my Mac OSX 10.2.8 to a Linux webserver.

    When I try to tunnel using Fetch 4.0.3 using localhost or 127.0.0.1, Passive mode transfers checked I get an Error Number -1.

    Any ideas what is going on?

    Thanks - Jim

    Posted 9 years ago #

  • Jim Matthews Administrator

    Could you choose "Fetch Transcript" from the Window menu after you get the error and post the contents?

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 9 years ago #

  • jarea Member

    Fetch 4.0.3 System 0x1028 Serial FETCHFL001-06QC-B39B TR
    Connecting to localhost port 21 (6/9/04 8:08:55 AM)
    Connecting to 127.0.0.1 port 21 (6/9/04 8:09:24 AM)
    Connecting to 127.0.0.1 port 21 (6/9/04 8:09:35 AM)

    This morning a couple of times I got a connection refused by server, followed the third time by an Error Number -1.

    My SSH connection is accomplished by:
    ssh -l artcat@art-cat.org www.art-cat.org

    Posted 9 years ago #

  • jarea Member

    I am making some progress, sort of. I am now using the -L option on SSH to specify 21:art-cat.org:21. This is enabling fetch to log on through the tunnel, but it just sits there indefinitely waiting for a directory. Here is the transcript:

    Fetch 4.0.3 System 0x1028 Serial FETCHFL001-06QC-B39B TR
    Connecting to localhost port 21 (6/9/04 6:10:05 PM)
    220 ProFTPD FTP Server ready.
    ADAT
    500 ADAT not understood
    USER artcat@art-cat.org
    331 Password required for artcat@art-cat.org.
    PASS
    230 User artcat@art-cat.org logged in.
    SYST
    215 UNIX Type: L8
    PWD
    257 "/home/artcat" is current directory.
    MACB ENABLE
    500 MACB not understood
    PWD
    257 "/home/artcat" is current directory.
    PASV
    227 Entering Passive Mode (67,15,36,28,128,113).
    LIST

    Posted 9 years ago #

  • Jim Matthews Administrator

    Seen from the point of view of the FTP server, your initial connection appears to be coming from the server itself, since that's where it emerges from the ssh tunnel. But the data connection comes directly from your Mac. Some FTP servers are configured to reject data connections that don't come from the same address as the initial connection, and that may be what is happening here. You could ask the server administrator about changing the server configuration.

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 9 years ago #

  • jarea Member

    Is this due to the passive mode transfer?

    I think my admin has an issue with PASV. I'll talk with him, but he has already indicated that he does not want sessions that use PASV. I'll pass along your comments and let you know what he says.

    Without PASV is there any other way to make Fetch work?

    Thanks - Jim

    Posted 9 years ago #

  • Jim Matthews Administrator

    You could try turning PASV off (in the Firewall section of Fetch Preferences). In that case it's the server that makes the connection, and it may balk at connecting to a different address than the one it sees the connection as coming from.

    Thanks,

    Jim Matthews
    Fetch Softworks

    Posted 9 years ago #

Topic closed

This topic has been closed.