
422
|
Chapter 3: Linux Commands
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
Options
-1 Use SSH1. The default is to use SSH2.
-b file
Run in batch mode, taking commands from the specified file.
Requires the use of a noninteractive authentication mechanism.
-B bytes
Specify the size of the buffer sftp uses for file transfers. Default
is 32768 bytes.
-C Enable compression (uses ssh -C).
-F file
Use file as the ssh configuration file instead of the default
system configuration file. The systemwide file is usually /etc/
ssh/ssh_config, and per-user files are $HOME/.ssh/config.
-ooption
Pass an option to ssh. The passed option is in the format used
by ssh_config(5) (e.g., -oPORT=nn, where nn is the port
number). -o can appear more than once to pass multiple
options to ssh. This option is useful for passing options that
don’t have an equivalent sftp command-line option.
-P server_path
Connect directly to the local sftp server specified in server_
path. Useful for debugging.
-R num
Specify the number of requests that may be outstanding at any
time (default 16).
-s subsys|server_path
Specify the SSH2 subsystem or path to the sftp server on the
remote system. Specifying the path is useful for using sftp via
SSH1 or if the remote sshd does not have an sftp subsystem
configured.
-S program
Specify the name of a program that understands ssh options
and that ...