Before you begin you need to make sure FTP and SSH are enabled on your live book. Doing this is well documented here so I won’t go into it. I also posted this in the WD community forums.
Using Putty or your favourite SSH client connect to your mybook and login.
Create a ssl certificate by entering the following command:
` openssl req -x509 -nodes -days 365 -newkey rsa:1024 -keyout /etc/ssl/private/vsftpd.pem -out /etc/ssl/private/vsftpd.pem`
Fill in the details it asks, when connecting using secure ftp you will see this information you can check to make sure its the right drive you are connecting too.
Edit the ftp config file by typing
Go to the bottom of the file and enter the following (I have commented the document to explain what it is doing. The comments can be left in as its written in away the live book understands. By default (its a good thing) WD turn off anonymous ftp, the config here does not change that but if you ever turned it on you would be made to use encryption. Paste the config in from below:
Turn on SSL
Allow anonymous users to use secured SSL connections
All non-anonymous logins are forced to use a secure SSL connection in order to send and receive data on data connections.
All non-anonymous logins are forced to use a secure SSL connection in order to send the password.
Permit TLS v1 protocol connections. TLS v1 connections are preferred
Permit SSL v2 protocol connections. TLS v1 connections are preferred
permit SSL v3 protocol connections. TLS v1 connections are preferred
Disable SSL session reuse (required by WinSCP)
Select which SSL ciphers vsftpd will allow for encrypted SSL connections
(required by FileZilla)
This option specifies the location of the RSA certificate to use for SSL
- Finally save the file and restart ftp by typing:
Notes on connecting through filezilla:
FileZilla will connect using port 990 when using explicit ftp. Simply change to port 21 and it will work: