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:
Install & make it very secure in an enterprise environment:
Adding 'virtual' users:
still no fix?
So after the following command:Code:$ locate pam_userdb.so /lib/x86_64-linux-gnu/security/pam_userdb.so
the content might need to change to:Code:sudo nano /etc/pam.d/ftp
And again, check the location of 'pam_userdb.so', the location might be different in 32-bit or other Ubuntu versions.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
Sometimes when you type the command, Ubuntu might suggest the package needed.Code:sudo apt-get install db-util
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.
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 !!
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.
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
Trying to set up vsftpd on Ubuntu server 14.04 . Everything works aslong as SSL is not enabled.
vsftpd.confCode: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
There's nothing about SSL in /var/log/vsftpd.log even though debug_ssl is enabled.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
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"
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.