Abstract
To encrypt the FTP connection SFTP can be used fairly easily as long as the ftp client supports SFTP, which supports FTP over SSH. In this case, FileZilla was used. To enable SFTP enable FTP and SSH. Create a user with appropriate permissions. Then create a connection in FileZilla configuring the connection with SFTP. Once the connection is made verify the connection is encrypted.
Another way to have an encrypted FTP connection is FTP over TLS. Unfortunately, the vsftpd does not support an SSL connection. Using SSH is recommended.
Products
ST-IPm-8460
VT-mIPm-248-D
VT-mIPm-138-D
Use Case: Encrypted FTP connection
Required Software
Sixnet I/O Tool Kit 5.0.101 or later
Industrial Controller firmware 7.0.101 or later
SFTP servers over SSH
An encrypted connection can be initiated by an SFTP client by enabling SSH, FTP and enabling users. This function used the sftp-server on the Industrial Controller to make an encrypted connection.
- First, go to Configure > Configuration Station/Module > Ports tab.
- Select the Network 1 or 2 and click the Configure Selected Port. Click the Advanced… button.
- Enable FTP and SSH
- Click “Configure Users…” Uncheck all permissions for the Anonymous user and create a new user with all permissions.
To make an encrypted connection with SFTP client like FileZilla.
- Go to File > Site Manager and click new site.
- Select Protocol SFTP, Host IP and user name with “ask for password” option.
- Click connect and once connected verify the encrypted connection with Lock Icon in status bar.