version 1.33, 2002/02/26 19:06:43 |
version 1.33.2.2, 2002/10/11 14:51:52 |
|
|
.It Fl o Ar ssh_option |
.It Fl o Ar ssh_option |
Can be used to pass options to |
Can be used to pass options to |
.Nm ssh |
.Nm ssh |
in the format used in the |
in the format used in |
.Xr ssh 1 |
.Xr ssh_config 5 . |
configuration file. This is useful for specifying options |
This is useful for specifying options |
for which there is no separate |
for which there is no separate |
.Nm sftp |
.Nm sftp |
command-line flag. For example, to specify an alternate |
command-line flag. For example, to specify an alternate |
|
|
.It Fl v |
.It Fl v |
Raise logging level. This option is also passed to ssh. |
Raise logging level. This option is also passed to ssh. |
.It Fl B Ar buffer_size |
.It Fl B Ar buffer_size |
Specify the size of the buffer that |
Specify the size of the buffer that |
.Nm |
.Nm |
uses when transferring files. Larger buffers require fewer round trips at |
uses when transferring files. Larger buffers require fewer round trips at |
the cost of higher memory consumption. The default is 32768 bytes. |
the cost of higher memory consumption. The default is 32768 bytes. |
|
|
This option is directly passed to |
This option is directly passed to |
.Xr ssh 1 . |
.Xr ssh 1 . |
.It Fl P Ar sftp_server path |
.It Fl P Ar sftp_server path |
Connect directly to a local |
Connect directly to a local |
.Nm sftp-server |
.Nm sftp-server |
(rather than via |
(rather than via |
.Nm ssh ) |
.Nm ssh ) |
This option may be useful in debugging the client and server. |
This option may be useful in debugging the client and server. |
.It Fl R Ar num_requests |
.It Fl R Ar num_requests |
Specify how many requests may be outstanding at any one time. Increasing |
Specify how many requests may be outstanding at any one time. Increasing |
this may slightly improve file transfer speed but will increase memory |
this may slightly improve file transfer speed but will increase memory |
usage. The default is 16 outstanding requests. |
usage. The default is 16 outstanding requests. |
.It Fl S Ar program |
.It Fl S Ar program |
|
|
.Ar newpath . |
.Ar newpath . |
.It Ic lpwd |
.It Ic lpwd |
Print local working directory. |
Print local working directory. |
.It Ic ls Op Ar path |
.It Xo Ic ls |
|
.Op Ar flags |
|
.Op Ar path |
|
.Xc |
Display remote directory listing of either |
Display remote directory listing of either |
.Ar path |
.Ar path |
or current directory if |
or current directory if |
.Ar path |
.Ar path |
is not specified. |
is not specified. If the |
|
.Fl l |
|
flag is specified, then display additional details including permissions |
|
and ownership information. |
.It Ic lumask Ar umask |
.It Ic lumask Ar umask |
Set local umask to |
Set local umask to |
.Ar umask . |
.Ar umask . |
|
|
.Xr ssh 1 , |
.Xr ssh 1 , |
.Xr ssh-add 1 , |
.Xr ssh-add 1 , |
.Xr ssh-keygen 1 , |
.Xr ssh-keygen 1 , |
|
.Xr ssh_config 5 , |
.Xr sftp-server 8 , |
.Xr sftp-server 8 , |
.Xr sshd 8 |
.Xr sshd 8 |
.Rs |
.Rs |