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 knownHostFile
RequiredArgumentDescription
Yes--n ConnectionNameSpecifies the name for the connection. The name can be anything you choose.
Yes--h HostSpecifies the host name or IP address of the SFTP server.
No--o PortSpecifies the network port to use for communication with the SFTP server. Default is 22.
No--s strictHostCheckSpecifies if you want Strict Host Key Checking enabled. Default is "false"
No--u UsernameThe user name to use to connect to the SFTP server, if required.
No--a key-based authenticationSpecifies if authentication is a Password or is Key-Based. Default is Password.
No--k privateKeyFileSpecifies the private key file path
No--e passphraseSpecifies the Passphrase set with private key generation.
No--f knownHostFileSpecifies location of the file that maintains known hosts details.
No--p PasswordThe 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