For some purposes it may be useful to operate the SSH Tectia Terminal GUI from the command line (command prompt).
The command-line syntax for the SSH Tectia Terminal GUI (
ssh-client-g3.exe) is as follows:
ssh-client-g3 [-r] [-p port] [-u user] [-h host] [profile]
The command-line parameters have the following meanings:
-roption will reset all customizations made to the user interface (toolbars and menus). A confirmation dialog is displayed.
-poption specifies the port number used for the connection. If this option is not specified, the port number defined in the default profile is used.
-uoption specifies the user name for the connection. If this option is not specified, the user name defined in the default profile is used.
-hoption specifies the hostname for the connection. If this option is not specified, the hostname defined in the default profile is used.
If a profile is specified, it must be the last option on the command line. Any command-line parameters override the profile settings. If no profile is specified, the default profile is used.
/f) option starts the default SFTP file transfer profile.
For example, the following command would immediately start a connection to a host called
remotehost and connect as
guest. The port number is not specified, so the connection would use the port specified in the default profile.
ssh-client-g3 -h remotehost -u guest
The following command would immediately start a connection to
remotehost using the settings defined in the profile file
ssh-client-g3 -h remotehost custom.ssh2
If the host is not specified (using the
-h option) and no profile is specified, the login dialog opens, automatically filled with the values specified on the command line.
For example, the following command would display the login dialog with the port number already defined as 222 and
guest as the user name.
ssh-client-g3 -u guest -p 222
A command-line client
sshg3.exe is also included in SSH Tectia ConnectSecure for Windows. It can be useful especially for creating scripts. For a description of the
sshg3.exe syntax, see sshg3(1).
Also several other command-line utilities are included in the SSH Tectia ConnectSecure installation. For more information, see Appendix C.