Ssh:sftp – Dell Acceleration Appliances for Databases User Manual

Page 105

Advertising
background image

--host

<string>

Remote host to connect to

(See

help –-all

for details on all other options.)

Arguments

localFile

Local file to copy

destination

Remote filename or directory. Most (but not all) systems will
accept a path and file name here. If this argument is left blank, the local
filename will be used.

Examples

> scpput config.xml someone@srv

This copies config.xml from local directory to the home directory of

someone

on host

srv

.

> scpput /tmp/config.xml someone@srv:/tmp

This copies

/tmp/config.xml

to the

/tmp

directory on host

srv

.

> scpput config.xml someone@srv:/tmp/my_config.xml

This copies

config.xml

to

/tmp/my_config.xml

on host

srv

.

> scpput config.xml someone@srv --password pass

or

> scpput config.xml someone:pass@srv

This copies

config.xml

to the home directory of

someone

on host

srv

, using password

pass

.

ssh:sftp

Executes SFTP (SSH File Transfer Protocol) commands over SSH. The initial call to this command
will start an SFTP session against the host. Successive commands will reuse the same session
information, until SFTP disconnect is invoked. This allows the user to perform a series of
commands, such as changing local and remote directories, followed by

put

and

get

.

Syntax

ssh:sftp [options] command(s)

Options

--quiet

or

-q

Hide the displayed progress.

--from

<long>

Byte position to begin transfer (for the

get

command)

105

Advertising