AGENT-PUT
On this page
Allows copying of files to other hosts via SCP.
Specifying a list of agent-id
’s, this command lets users SCP files to remote MemSQL Ops agent hosts.
Usage
usage: memsql-ops agent-put [--settings-file SETTINGS_FILE][--agent-ids AGENT_IDS [AGENT_IDS ...]][--memsql-role {leaf,aggregator,master} [{leaf,aggregator,master} ...]][--no-prompt] [-u USER] [-P PORT] [-i PRIVATE_KEY][-p [PASSWORD]]source destSCP files to agents.positional arguments:source Path to the source file on the local machine.dest Path to the destination file on the remote agent(s).optional arguments:--settings-file SETTINGS_FILEA path to a MemSQL Ops settings.conf file. If not set,we will use the file in the same directory as theMemSQL Ops binary.--agent-ids AGENT_IDS [AGENT_IDS ...]Filter the nodes by the specified agent IDs.--memsql-role {leaf,aggregator,master} [{leaf,aggregator,master} ...]Filter the nodes by the specified SingleStore roles.--no-prompt Skip interactive prompts if a single agent isselected.-u USER, --user USER Use this user for all SSH connections.-P PORT, --port PORT Use this port for all SSH connections.-i PRIVATE_KEY, --private-key-file PRIVATE_KEYUse this SSH key for all SSH connections.-p [PASSWORD], --password [PASSWORD]Use this password for all SSH connections. Leave blankto read the MEMSQL_PASSWORD environment variable, orhave a password prompt if MEMSQL_PASSWORD is not set.
Last modified: July 11, 2023