data source sftp update
The data source sftp update command modifies a connection between Spectrum Technology Platform and an SFTP server.
Usage
data source sftp update --n ConnectionName --h Host --o Port --s strictHostCheck --u Username --a key-based authentication --k privateKeyFile --e passphrase --f knownHostFileRequired | Argument | Description |
---|---|---|
Yes | --n ConnectionName | Specifies the name for the connection. The name can be anything you choose. |
Yes | --h Host | Specifies the host name or IP address of the SFTP server. |
No | --o Port | Specifies the network port to use for communication with the SFTP server. Default is 22. |
No | --s strictHostCheck | Specifies if you want Strict Host Key Checking enabled. Default is "false" |
No | --u Username | The user name to use to connect to the SFTP server, if required. |
No | --a key-based authentication | Specifies if authentication is a Password or is Key-Based. Default is Password. |
No | --k privateKeyFile | Specifies the private key file path |
No | --e passphrase | Specifies the Passphrase set with private key generation. |
No | --f knownHostFile | Specifies location of the file that maintains known hosts details. |
No | --p Password | The password to use to connect to the SFTP server, if required. |
Example
This example modifies an SFTP connection named NorthernRegionCustomers. It changes the host to HostServer2.
data source sftp update --n ConnectionName --h HostServer2 --o Port --s strictHostCheck --u Username --a key-based authentication --k privateKeyFile --e passphrase --f knownHostFile