ssh2 Command Line Utility

Syntax: ssh2 [options] [user@]hostname [host command]

The ssh2 command line utility supports switches that are compatible with the F-Secure implementation of Secure Shell.


  • Unless you have existing scripts written using the F-Secure ssh2 command line utility, you should use ssh not ssh2.

  • Connections made using ssh2 don't use the default client configuration file. These connections use the F-Secure configuration file if it is present.

To view the supported switches, type the following in a command window:

ssh2 -h