Sftp File Store
Description | An SFTP server to manage files |
---|---|
Type | sftp |
Category | File |
Configuration
Name | Description | Type | Mandatory | Comment |
---|---|---|---|---|
HostName | Host address of the SFTP | string | TRUE | |
Port | Port of the SFTP server | int | FALSE | Default: 22 |
Username | The user used to connect to the SFTP | string | TRUE | |
KeyPath | Path of the key used to connect to the SFTP server | string | TRUE | RSA keys must be in “old” format. Or you may have the error “(openssh key type: ssh-rsa is not supported)” To create the rsa key (old format) :
CODE
if the key is more recent, you can convert it with this command
CODE
|
KeyPassword | Password used to read the key | string | TRUE | |
BasePath | The base directory on the SFTP server | string | TRUE |
{
"Name": "sftp-server",
"Type": "sftp",
"HealthCheck": true,
"Config": {
"HostName": "ftp.dfakto.com",
"Port": 23,
"Username": "username",
"KeyPath": "./key.pem",
"KeyPassword": "password",
"BasePath": "/"
}
}