Host Data (Secure Shell Settings)
Use the Host Data section to set environment variables and run commands on the server.
The options are:
|Opens the New Environment Variable dialog box, from which you can specify a new variable and value.
|Edit the selected variable.
|Delete the selected variable.
|Specifies one or more commands to run on the remote server. Use a semicolon (;) to separate multiple commands when connecting to a UNIX server. Use an ampersand (&) to separate commands when connecting to a Windows server. After a connection is established the server executes (or attempts to execute) the specified command(s), and then the session terminates. The server must be configured to allow commands received from the client to run.
The commands must be specified in the correct format for your server. For example, to capture a directory listing on a UNIX server, you might specify the following:
ls > list.txt
On a Windows server, the equivalent command would be one of the following, depending on how the Windows server is configured:
dir > list.txt
cmd /c dir > list.txt