Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: How to map/mount a FTPES (FTP oever explicit TSL/SSL) ??

  1. #1
    Join Date
    Jun 2006
    Location
    Slovenia
    Beans
    Hidden!
    Distro
    Ubuntu 8.10 Intrepid Ibex

    How to map/mount a FTPES (FTP oever explicit TSL/SSL) ??

    For the love of god I can't figure it out. There are solutions for doing this with FTPS(CurlFTPFS) and SFTP.. but haven't found one for FTPES. I can use FileZilla to connect to the sever and download or upload files, but since I need to run scripts and stuff that don't know what FTPES is it wold be way more convenient to have the remote folder mapped as a local folder on the file system.

    There is also the possibility that I am overlooking something.. but if the server address starts with ftpes://.. then I don't know how to map it to a local folder.

    If anyone has a solution I would really appreciate it.. thanks.

  2. #2
    Join Date
    Jun 2006
    Location
    Slovenia
    Beans
    Hidden!
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: How to map/mount a FTPES (FTP oever explicit TSL/SSL) ??

    Is there no solution? I would really appreciate it, if someone finds one.

    Thanks !

  3. #3
    Join Date
    Apr 2005
    Location
    NW Ontario
    Beans
    15
    Distro
    Ubuntu 9.10 Karmic Koala

    Exclamation Re: How to map/mount a FTPES (FTP oever explicit TSL/SSL) ??

    I've been desperately searching for an answer to the FTPES dilemma myself. My web host has decided to use FTPES for ftp access now, and NOTHING but FileZilla it seems will connect to the blasted thing. I've tried Windows editors, linux editors, everything but Dreamweaver ... which I don't have and SUPPOSEDLY works if you dance through the right hoops. Irritating as heck!!!

  4. #4
    Join Date
    Apr 2005
    Location
    NW Ontario
    Beans
    15
    Distro
    Ubuntu 9.10 Karmic Koala

    Angry Re: How to map/mount a FTPES (FTP oever explicit TSL/SSL) ??

    Well, Dreamweaver WILL connect from Windows ... doesn't do me a lick of good in Ubuntu though!

    Does anyone know if there's a way to mimic the way DW connects? It involves setting it to use a secure connection and a firewall, then setting the firewall port to 40007 (at least for my host).

    I don't want to have to ditch Ubuntu to use DW under Windows over this!!

  5. #5
    Join Date
    Apr 2005
    Location
    NW Ontario
    Beans
    15
    Distro
    Ubuntu 9.10 Karmic Koala

    Cool Re: How to map/mount a FTPES (FTP oever explicit TSL/SSL) ??

    Well, I found another solution for WINDOWS, but nothing for linux yet. Bitvise Tunnelier acts as an FTP to SFTP bridge. It makes the connection to the FTPES server, and you set up your programs that support regular FTP to connect to localhost. Then it forwards the requests over the secure connection.

    Does anyone know of any sort of similar bridge for linux?

  6. #6
    Join Date
    Oct 2007
    Beans
    3

    Re: How to map/mount a FTPES (FTP oever explicit TSL/SSL) ??

    Anything new about this?

  7. #7
    Join Date
    Jan 2010
    Beans
    1

    Re: How to map/mount a FTPES (FTP oever explicit TSL/SSL) ??

    Quote Originally Posted by Holmss View Post
    Anything new about this?
    Not as far as I know... ;(
    I have gotten this far but yet not news how to proceed!:

    Command:
    curlftpfs -v -o ssl -o ssl_control -d rxxxxxxx@ftp.xxxxx.xx:1xxx /mxxxxx/


    Output:
    Code:
    * Couldn't find host ftp.xxxxx.xx  in the .netrc file; using defaults
    * About to connect() to ftp.xxxxx.xx  port 1XXX (#0)
    *   Trying 89.XXX.XXX.XXX... * connected
    * Connected to ftp.xxxxx.xx (89.XXX.XXX.XXX) port 1XXX (#0)
    < 220 THE XXXXX XXX (glFTPd 2.01 Linux+TLS) ready.
    > AUTH SSL
    < 234 AUTH SSL successful
    * found 142 certificates in /etc/ssl/certs/ca-certificates.crt
    * server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
    * Closing connection #0
    Error connecting to ftp: server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
    What can I do to get it to work?
    It works fine with Filezilla on Windows..
    Please help me!

  8. #8
    Join Date
    Apr 2009
    Beans
    3

    Re: How to map/mount a FTPES (FTP oever explicit TSL/SSL) ??

    Since your command helped me find out of my issue i figured i would offer some help instead.
    The end command i had to use since the hostname did not match the key in my case:
    Code:
    curlftpfs -o ssl -o ssl_control -o no_verify_hostname -d username:password@xxx.xxx.xxx.xxx:port /home/user/folder/

    In any case what you are looking to do is get the ftp server certificate key to paste into this file
    /etc/ssl/certs/ca-certificates.crt
    Filezilla usually or can accept certificates automatically. However curlftpfs relies on them to be located in the shared library which is in the location mentioned above.

    You should be able to get this key from the administration part of the ftp server since that generated the key. Filezilla should also have a copy since it accessed the site but i do not know where filezilla puts its keys.

    The key looks like this:

    -----BEGIN CERTIFICATE-----
    MIICVjBBAb+gAwIBAgIBADANBgkqhkiG9w0BAQQFADByMRIwEA YDVQQHEwlhc2Vy
    c2FkZmUxDDAKBgNVBAgTA3NlcjELMAkGA1UEBhMCYXMxDTALBg NVBAMTBHNlcnMx
    EzARBgkqhkiG9w0BCQETBHNhZUXxDTALBgNVBAoTBHJzZXIxDj AMBgNVBAsTBWRm
    ZXJyMB4XDTEwMDgwMzIzNTQ1OFoXDTIwMDgwMzIzNTQ1OFowcj ESMBAGA1UEBxMJ
    YXNlcnNhZGZlMQwwCgYDVQQIEwNzZXIxCzAJBgNVBAYTAmFzMQ 0wCwYDVQQDEwRz
    ZXJzMRMwEQYJKoZIhvcNAQkBEwRzYWRmMQ0wCwYDVQQKEwRyc2 VyMQ4wDAYDVQQL
    EwVkZmVycjCBnTANBgkqhkiG9w0BAQEFAAOBiwAwgYcCgYEAxf iAmGfVh/mlX2Za
    dX4+XPLqeOqoNoerCi9bmHs9ia5X9SU+k2toMA5FR6+ZlPFi2d wSRjptlK20c29U
    4B068t/PEgX4UfONq3geBQppObC3Lq6O5qbXPa7h9LtiQxjA3a64DpRid R/ULt9V
    1x94SyDpAEkzFzSrzEWlxzKTrbMCAQMwDQYJKoZIhvcNAQEEBQ ADgYEAok1TlDoK
    M6e5tuRZcacBv9Gt1m+YLuuidSyxJG3uXeCvUUdQ4/uoUAP0IIMlXqJ+r6zkKPyb
    bYxUSpVuMhRiKNC8LU7hXO+KxIbpuCst4mAUHGGi84H583oFaP d0U/3BwBT3So/j
    lFaDzUTCJhqjLSM1ik7xetwqOr5DmyMumIw=
    -----END CERTIFICATE-----

    So find it , copy it into the bottom of the .crt file and you should be good.

  9. #9
    Join Date
    May 2010
    Beans
    7

    Re: How to map/mount a FTPES (FTP oever explicit TSL/SSL) ??

    ...or if you can live with the fact that server certificate will not be vetrified you can use:

    Code:
    curlftpfs -o ssl -o ssl_control -o no_verify_hostname -o no_verify_peer -d username:password@xxx.xxx.xxx.xxx:port /home/user/folder/
    in that case you do not need SSL certificate

  10. #10
    Join Date
    Aug 2011
    Beans
    5

    Re: How to map/mount a FTPES (FTP oever explicit TSL/SSL) ??

    Trying to connect, but getting error:
    Code:
    sudo curlftpfs -o ssl -o ssl_control -o no_verify_hostname -d user:pass@ip.ip.ip.ip /mnt/ip
    Error connecting to ftp: gnutls_handshake() failed: A TLS fatal alert has been received.

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •