A Drive mount for FTP allows users to connect to their servers using various FTP protocols, including SFTP via SSH. This means that external sources can be displayed directly in the Drive and, depending on access authorization, can also be changed.
Supported protocols
The following protocols are available and can be selected in the configuration dialog:
Connection to FTP server
The connection to the FTP server is established using the selected protocol. The following options have to be set in the configuration dialog of the task.
-
Passive connection : used when the server can not connect to the client. This is, for example, the case when the client is behind a router that changed its IP address using NAT, or if a firewall shields the client's network from outside access.
Authentication
Public/Private Key Authentication
The public/private key authentication can be used with the Secure FTP protocol. The private key has to be pasted in full length into the text field. It will only be displayed once and is stored with an additional encryption together with the Taskplaner task configuration. If the private key is secured with a password, it has to be set as well and will also be stored encrypted.
Note: Errors with the encryption keys may be a hint on the wrong format of the key. It is then required to change to format to an RSA or PEM format and should look like the following block:
-----BEGIN RSA PRIVATE KEY-----
...
-----END RSA PRIVATE KEY-----
Using OpenSSH and ssh-keygen
on supported systems, the following commands can be used:
[dev@localhost] $ ssh-keygen -t rsa -b 4096 -C "<User Note>"
# Generating public/private rsa key pair.
# Enter file in which to save the key (/Users/dev/.ssh/id_rsa):
# Enter passphrase (empty for no passphrase):
# Enter same passphrase again:
# Your identification has been saved in /Users/dev/.ssh/id_rsa.
# Your public key has been saved in /Users/dev/.ssh/id_rsa.pub.
# ...
[dev@localhost] $ ssh-keygen -p -f /Users/dev/.ssh/id_rsa -m pem
# ...