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

    Introduction >>
    Configuration >>
    Connecting >>
    Terminal Window >>
    File Transfer >>
    Toolbar Reference >>
    Menu Reference >>
    Advanced Information >>
    Troubleshooting >>
    Appendices >>
        SSH2
        SCP2 >>
        SFTP2 >>
        SSH-keygen2
        Frequently Asked Questions >>

SSH2

SSH2.EXE is a command line version of the SSH Secure Shell 2 utility.

The syntax of ssh2 is:

ssh2 [options] [user@]host[#port] [command]

The following options are available:

  -l user     Log in using this user name.
  +x          Enable X11 connection forwarding.
  -x          Disable X11 connection forwarding.
  -i file     Identity file for public-key authentication
  -F file     Read an alternative configuration file.
  -t          Tty; allocate a tty even if command is given.
  -v          Verbose; display verbose debugging messages.  Equal to `-d 2'
  -d level    Set debug level.
  -V          Display version number only.
  -q          Quiet; don't display any warning messages.
  -c cipher   Select encryption algorithm. Multiple -c options are
              allowed and a single -c flag can have only one cipher.
  -m MAC      Select MAC algorithm. Multiple -m options are
              allowed and a single -m flag can have only one MAC.
  -p port     Connect to this port.  Server must be on the same port.
  -S          Don't request a session channel.
  -L listen-port:host:port   Forward local port to remote address
  -R listen-port:host:port   Forward remote port to local address
              These cause SSH to listen for connections on a port, and
              forward them to the other side by connecting to host:port.
  +C          Enable compression.
  -C          Disable compression.
  -o 'option' Process the option as if it was read from a configuration file.
  -O provider Use provider as the external key provider
  -E string   Use string as initialization string for external key provider
  -h          Display this help.

The command can be either of the following:

  • remote_command [arguments] ...

    Run command in remote host.

  • -s service

    Enable a service in remote server.

Type ssh2 without arguments to see the command line syntax and the location of the configuration files.

Previous Next Up [Contents] [Index]


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

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