SSH Communications Security
Previous Next Up [Contents] [Index]

    Introduction >>
    Configuration >>
    Connecting >>
    Terminal Window >>
    File Transfer >>
    Toolbar Reference >>
    Menu Reference >>
    Advanced Information >>
    Troubleshooting >>
    Appendices >>
        SSH2
        SCP2 >>
        SFTP2 >>
            File Name Support
            Command Syntax
            SFTP2 Commands
            SFTP2 Command Interpretation
        ssh-keygen2
        Frequently Asked Questions

Command Syntax

SYNOPSIS

sftp2 [-D debug_level_spec] [-B batchfile] [-S path] [-h]
      [-V] [-P port] [-b buffer_size] [-N max_requests]
      [-c cipher] [-m mac] [-o option_to_ssh2]
      [-k configdir]
      [user@]host[#port]

OPTIONS

-D debug_level_spec
       Debug mode. Makes SFTP2 to send verbose debug output. 
       The debugging level is either a number (0-99), 
       or a comma-separated list of assignments
       ModulePattern=debug_level. 

-B batchfile
       Batch mode. Reads commands from a file instead of
       standard input. Since this mode is intended for
       scripts, SFTP2 will not try to interact with the user, 
       which means that only passwordless authentication methods 
       will work. In batch mode, a failure to change the current 
       working directory will cause SFTP2 to abort. 
       Other errors are ignored.

-S path
       Specifies the path to the ssh2 binary.

-h     Prints the command syntax and exits.

-V     Prints version information and exits.

-P port
       Specifies the port to be used. 

-b buffer_size
       Specifies the size of the buffer. 

-N max_requests
       Specifies the maximum number of allowed requests. 

-c cipher
       Specifies the cipher to be used. 

-m mac
       Specifies the MAC algorithm to be used. 

-o ssh2-options
       Specifies options to give to ssh2. The option has the 
       same format as a line in the configuration file. 
       Comment lines are not accepted. Where applicable, 
       egrep regex format is used.

-k dir Custom configuration directory where ssh2_config,
       hostkeys and userkeys are located.

user   Specify the username to use when connecting.
       (Optional)

host   Specify the host to connect to.

port   Specify the port on the host to connect to.
       (Optional)

Previous Next Up [Contents] [Index]


[ Contact Information | Support | Feedback | SSH Home Page | SSH Products ]

Copyright © 2003 SSH Communications Security Corp.
All rights reserved.
Copyright Notice