Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Xshell can understand the following command line parameters:
SYNOPSYS
xshell [OPTION]...[FILE]

EXAMPLE: xshell -newwin $SESSION_PATH$

OPTIONS
-folder $FOLDER_PATH$:
Opens all session in the $FOLDER_PATH$ folder.

-newwin [protocol://][user[:password]@]host[:port]
-newwin $SESSION_PATH$
Creates a new connection in the new Xshell window

-URL [protocol://][user[:password]@]host[:port] 
Start a connection with URL. 
Example: xshell -url ssh://user1:password@192.168.1.17:22

-open
Open the sessions dialog box. 
Example: xshell -open

-register
Open the product key registration window. 
Example: xshell -register

-about
Open the Xshell about window. 
Example: xshell -about

-prop $SESSION_PATH$
Open the session properties dialog box. 
Ex: xshell -prop $SESSION_PATH$

-create $SESSION_PATH$
Create a new session. 
Example: xshell -create $SESSION_PATH$

-newtab $NAME$
Assign the tab $NAME$.
Example: xshell -newtab "new tab"
For example, if you want to connect to the server, 192.168.10.100 with user name, root and password, passwd, you would use the following command:
Xshell -url ssh://root:passwd@192.168.10.100
(The -url parameter can be omitted in Xshell v5)
This opens the session in the last Xshell window that you interacted with. 
If you want to open the session in the new Xshell window, you would use:
Xshell -newwin ssh://root:passwd@192.168.10.100
  • No labels