Show Contents / Index / Search

Host Data Tab (Secure Shell Settings)

Getting there

Use the Host Data tab to set environment variables and run commands on the server.

The options are:

Environment Variables

Add

Opens the New Environment Variable dialog box, from which you can specify a new variable and value.

Modify

Edit the selected variable.

Delete

Delete the selected variable.

Remote Command

Command

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