Xshell provides a number of local commands for professional users who are accustomed to terminal environments.
By default an Xshell prompt appears on the terminal window when a connection to a remote host is not established. When a connection is already established, you can escape to the local prompt by pressing "Ctrl+Alt+]" key sequence. To return to the remote mode, you can just run "exit" or press "Ctrl+D" key sequence.
The complete command list is available below.
Command | Description |
help ? |
Displays the command list on the terminal window. |
new | the New Session Properties dialog box. |
open [session] | Establishes a connection with the session specified or opens the Sessions dialog box when a session is not specified. |
edit [session] | If ¡°session¡± is specified, Xshell opens the Properties dialog box of the session. Otherwise, Xshell opens the Default Properties dialog box. |
list | Lists all sessions and their information that are available for the current working directory. |
cd | Changes the working directory. |
clear | Erases screen, history of the Address bar, history of the Compose bar. |
exit quit |
Quits the Xshell program or returns to the remote mode. |
ssh [user@]host [port] | Establishes an ssh connection to the specified host. The default port is 22 when it is not specified. |
sftp [user@]host [port] | Establishes an ssh connection to the specified host. The default port is 22 when it is not specified. |
telnet host [port] | Establishes a telnet connection to the specified host. The default port is 23 when it is not specified. |
rlogin [user@]host [port] | Establishes an rlogin connection to the specified host. The default port is 513 when it is not specified. |
ftp [user@]host [port] | Establishes an ftp connection to the specified host. The default port is 21 when it is not specified. |
ipconfig | Runs the ipconfig command of Windows. |
ping host | Runs the ping command of Windows. |
tracert host | Runs the pingDisplays the route of a packet until it reaches the host. |
netstat | Runs the netstat command of Windows.. |
nslookup | Runs the nslookup command of Windows. |