Page 13 of 14 FirstFirst ... 311121314 LastLast
Results 121 to 130 of 138

Thread: Howto: Easy FTP with vsftpd

  1. #121
    Join Date
    Jan 2014
    Location
    California
    Beans
    32
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: Howto: Easy FTP with vsftpd

    Quote Originally Posted by tulong211 View Post

    I can't install libdb3-util package with : sudo apt-get install libdb3-util. I try research for libdb3-util but It's no available. I can't continue install FTP

    My OS : Ubuntu 12.04 Lts 64bit.
    Dude im having same exact issue WTF

  2. #122
    Join Date
    Jan 2014
    Beans
    1

    Re: Howto: Easy FTP with vsftpd

    Quote Originally Posted by dallen2 View Post
    Dude im having same exact issue WTF
    Same issue.

    Ubuntu version:

    Distributor ID: Ubuntu
    Description: Ubuntu 12.04.3 LTS
    Release: 12.04
    Codename: precise

  3. #123
    Join Date
    Jun 2010
    Beans
    5

    Re: Howto: Easy FTP with vsftpd

    Quote Originally Posted by grahammickle View Post
    Same issue.

    Ubuntu version:

    Distributor ID: Ubuntu
    Description: Ubuntu 12.04.3 LTS
    Release: 12.04
    Codename: precise
    db5.1-util - Berkeley v5.1 Database Utilities
    db4.7-util - Berkeley v4.7 Database Utilities
    db4.8-util - Berkeley v4.8 Database Utilities

    Newer versions of said package. No guarantee it will fix everything you're trying to do though .

  4. #124
    Join Date
    Oct 2012
    Beans
    4

    Re: Howto: Easy FTP with vsftpd

    It's ricidulous I agree.
    Networking is the last bastion of the autistic savant geeks who love to make everything as difficult and time consuming as possible.
    Not everyone is a sysadmin being paid to do nothing but sit & type long cryptic case sensitive command strings all day long..

    Install & make it insecure (easy to access in a trusted LAN:
    http://www.liberiangeek.net/2012/06/...cise-pangolin/

    Install & make it very secure in an enterprise environment:
    http://howto.gumph.org/content/setup...ies-in-vsftpd/

    Adding 'virtual' users:
    http://howto.gumph.org/content/setup...ies-in-vsftpd/

    http://www.hosting.com/support/linux...ers-for-vsftp/

  5. #125
    Join Date
    Jan 2014
    Location
    California
    Beans
    32
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: Howto: Easy FTP with vsftpd

    still no fix?

  6. #126
    Join Date
    Apr 2014
    Beans
    3

    Re: Howto: Easy FTP with vsftpd

    Quote Originally Posted by epimeteo View Post
    Create the new file /etc/pam.d/ftp for the new authentication system:
    Code:
    sudo nano /etc/pam.d/ftp
    And add the following content:
    Code:
    auth required /lib/security/pam_userdb.so db=/etc/vsftpd/vsftpd_login
    account required /lib/security/pam_userdb.so db=/etc/vsftpd/vsftpd_login
    It seems the location of 'pam_userdb.so' has changed (I'm using Ubuntu 13.10).
    Code:
    $ locate pam_userdb.so
    /lib/x86_64-linux-gnu/security/pam_userdb.so
    So after the following command:
    Code:
    sudo nano /etc/pam.d/ftp
    the content might need to change to:
    Code:
    auth required /lib/x86_64-linux-gnu/security/pam_userdb.so db=/etc/vsftpd/vsftpd_login
    account required /lib/x86_64-linux-gnu/security/pam_userdb.so db=/etc/vsftpd/vsftpd_login
    And again, check the location of 'pam_userdb.so', the location might be different in 32-bit or other Ubuntu versions.

    Quote Originally Posted by tulong211 View Post
    Hi Everybody!

    I can't install libdb3-util package with : sudo apt-get install libdb3-util. I try research for libdb3-util but It's no available. I can't continue install FTP

    My OS : Ubuntu 12.04 Lts 64bit.
    Hope this helps
    Code:
    sudo apt-get install db-util
    Sometimes when you type the command, Ubuntu might suggest the package needed.
    For example in this scenario
    Code:
    $ db_load
    The program 'db_load' is currently not installed. You can install it by typing:
    sudo apt-get install db-util
    Last edited by fred.sauze; April 25th, 2014 at 08:36 AM.

  7. #127
    Join Date
    May 2014
    Beans
    12

    Re: Howto: Easy FTP with vsftpd

    So I have Ubuntu 14.04 on an HP Microserver N54L
    I'm tech-savvie to a degree, working on Windows mainly, but got an iMac a couple of years back, and never really got into OSX.

    After probably a week i managed to get the mac to user the server for Time Machine backups but, although I can "see" my server in Finder on the Mac I cannot browse or see any folders let alone copy "stuff" to it. (and I mean a week solid pulling my hair out !!)

    So I now desperately want to set up ftp so an iPhone user can use a free ftp client to upload a (rather long) video of a recently deceased relative.
    I have no more hair to pull out but I despair t the title of these thread "Easy ftp with VSFTPD" the 13 pages of problems bear out my despair.

    Can someone please tell me if it will work with my setup ? and possibly point me to a tutorial that works ?

    I'd probably need some good pointers on how to remove all the "bad programming" that I've ended up with, taking tips and hints from various threads/tutorials is not a good idea in my opinion.

    Thanks in advance for any help - I realise this thread has been dormant for some three weeks.

    Please be kind !!

    Regards,

    Netrix

  8. #128
    Join Date
    Sep 2006
    Beans
    7,953
    Distro
    Lubuntu Development Release

    sftp

    Quote Originally Posted by netrix-g View Post
    So I have Ubuntu 14.04 on an HP Microserver N54L
    I'm tech-savvie to a degree, working on Windows mainly, but got an iMac a couple of years back, and never really got into OSX.

    After probably a week i managed to get the mac to user the server for Time Machine backups but, although I can "see" my server in Finder on the Mac I cannot browse or see any folders let alone copy "stuff" to it. (and I mean a week solid pulling my hair out !!)

    So I now desperately want to set up ftp so an iPhone user can use a free ftp client to upload a (rather long) video of a recently deceased relative.
    I have no more hair to pull out but I despair t the title of these thread "Easy ftp with VSFTPD" the 13 pages of problems bear out my despair.

    Can someone please tell me if it will work with my setup ? and possibly point me to a tutorial that works ?

    I'd probably need some good pointers on how to remove all the "bad programming" that I've ended up with, taking tips and hints from various threads/tutorials is not a good idea in my opinion.

    Thanks in advance for any help - I realise this thread has been dormant for some three weeks.

    Please be kind !!

    Regards,

    Netrix
    Please don't use FTP for that. It's 2014, not 1994 For a simple file transfer with an iMac, if you are using OS X or Ubuntu, SFTP is the way to go. It's part of the system in OS X and it can be turned on by going to System Preferences -> Internet & Networking -> Sharing -> Remote Login. Or something like that, it's been a while. If you are running Ubuntu on your iMac, then just install the package openssh-server.

    Either way, SFTP clients will then be able to connect to the machine securely and easily. Is your SFTP client on the iPhone Cyberduck?
    The Truth Shall Make Ye Fret.

  9. #129
    Join Date
    May 2014
    Beans
    12

    Re: sftp

    Hi Lars, thank you for the speedy reply !

    The iMax is OSX Mountain Lion, the HP server has Ubuntu 14.04 installed. Going forward, I would like to be able to connect remotely to the Ubuntu server (securely !!)

    I thought the "VS" of vsftpd would be adequate, but I'll have to look at SFTP now.
    In the short term, if I can get the video from the iPhone to the mac (we live 90 miles apart !) via SFTP that will suffice for now but as mentioned I would like colleagues at work and family to connect/upload and download to the HP server at some point in the near future !
    Her iPhone currently has no ftp client and I wanted to use a free app as they are not related to me etc and are doing me a favour by allowing me to see the video. so I chose FTP Sprite (it's free) and I've used that on my iPhone to ftp to a colleague's ftp server .

    I'm off to Google SFTP and OS X

    Thanks again for your input

    Regards

    Netrix

  10. #130
    Join Date
    Jun 2014
    Beans
    1

    Re: Howto: Easy FTP with vsftpd

    Trying to set up vsftpd on Ubuntu server 14.04 . Everything works aslong as SSL is not enabled.

    Filezilla:
    Code:
    Status:    Connecting to 192.168.1.67:990...
    Status:    Connection established, initializing TLS...
    Error:    GnuTLS error -15: An unexpected TLS packet was received.
    Error:    Could not connect to server
    vsftpd.conf
    Code:
    listen=YES
    anonymous_enable=YES
    local_enable=YES
    write_enable=YES
    dirmessage_enable=YES
    use_localtime=YES
    xferlog_enable=YES
    connect_from_port_20=YES
    secure_chroot_dir=/var/run/vsftpd/empty
    pam_service_name=vsftpd
    rsa_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
    rsa_private_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
    ssl_enable=YES
    allow_anon_ssl=NO
    force_local_data_ssl=YES
    force_local_logins_ssl=YES
    ssl_tlsv1=YES
    ssl_sslv2=YES
    ssl_sslv3=YES
    listen_port=990
    ssl_ciphers=HIGH
    debug_ssl=YES
    There's nothing about SSL in /var/log/vsftpd.log even though debug_ssl is enabled.

    Code:
    Mon Jun 23 14:32:51 2014 [pid 1905] CONNECT: Client "192.168.1.66"
    Mon Jun 23 14:32:56 2014 [pid 1909] CONNECT: Client "192.168.1.66"
    Mon Jun 23 14:37:22 2014 [pid 1913] CONNECT: Client "192.168.1.66"
    Mon Jun 23 14:37:36 2014 [pid 1917] CONNECT: Client "192.168.1.66"
    Mon Jun 23 14:37:41 2014 [pid 1921] CONNECT: Client "192.168.1.66"


    Any ideas?



    E: Figured it out - I was trying to implicit FTP over TLS, when implicit_ssl was disabled.
    Last edited by helseth2; June 24th, 2014 at 01:30 PM.

Page 13 of 14 FirstFirst ... 311121314 LastLast

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
  •