Xshell Forum

Starting xshell from the command line

Last post: Monday, March 24, 2014 9:25 PM by Support, 18 reply

 
Friday, April 28, 2006 2:55 AM - Stuart

Starting xshell from the command line

 
Hi,
Does anyone know how to start xshell from the command line in windows and pass an IP address to it so it automatically starts an ssh session to the host?
Thanks
Stuart

Friday, April 28, 2006 1:54 PM - Bravada

Re: Starting xshell from the command line

 
Go to Xshell directory and use the following command.

C:\Program Files\NetSarang\Xshell> xshell /url ssh://username@ipaddress:port
Friday, April 28, 2006 9:06 PM - Stuart

Re: Re: Starting xshell from the command line

 

Thank you.
Tuesday, July 11, 2006 10:56 PM - Mark

Re: Re: Starting xshell from the command line

 
Hi!

Is there a way to make xshell reuse the same window and open the session in a new tab? When I do this a new xshell window is opened.

Thanks!

Wednesday, July 12, 2006 10:37 AM - Support

Re: Re: Re: Starting xshell from the command line

 
In the current version, a session started from the command line cannot be added to an already open Xshell window. However, we will consider adding it in our next version.

Thank you for using Xshell.

---
Technical Support
Wednesday, July 12, 2006 12:54 PM - K

Re: Re: Re: Starting xshell from the command line

 
I know that a new session opens in the same Xshell window when you open it from an already open Xshell window, not from the command line or a shortcut icon.
Wednesday, July 12, 2006 1:17 PM - Support

Re: Re: Re: Re: Starting xshell from the command line

 
In the current version, a session started from the command line and shortcut icon cannot be added to an already open Xshell window. However, we will consider adding it in our next version.

Thank you for using Xshell.

---
Technical Support
Monday, March 1, 2010 10:52 PM - Mark

Re: Starting xshell from the command line

 
Hi!

Is it possible yet to reuse an already opened xshell window when starting xshell from the command line? I asked this question a few years ago, and wonder if it has been implemented yet ....

Thanks!
Monday, November 1, 2010 10:09 PM - Gelob

Re: Starting xshell from the command line

 
In the latest v4 beta if you launch Xshell from the command line and have the option set to only allow 1 Xshell window it will open that session in a new tab. It does not however bring Xshell windows to the foreground in WIndows 7.
Wednesday, November 3, 2010 2:13 AM - Support

Re: Starting xshell from the command line

 
This problem was reported in the previous versions. Please try upgrading Xshell by selecting Check for Update under the Help menu.


----
Technical Support
Friday, January 21, 2011 3:30 AM - Moolchand

Re: Starting xshell from the command line

 
Hi,

Can you please tell exact syntax to open two saved session in one xshell window from command prompt in windows.

c:\Program Files\NetSarang\Xshell 4>Xshell.exe c:\Users\moolchanda\AppData\Roaming\NetSarang\Xshell\Sessions\GOPSbL01.xs
h c:\Users\moolchanda\AppData\Roaming\NetSarang\Xshell\Sessions\GOPSAL01.xsh

Regards,
Moolchand
Wednesday, November 7, 2012 11:09 AM - Tim

Re: Starting xshell from the command line

 
I am also interested in something like this.

Is there a list of command line switches that can be used when starting Xshell? I have searched quite a bit and haven't found anything.
Wednesday, November 7, 2012 5:12 PM - Support

Re: Starting xshell from the command line

 
Here are some of the Xshell command line options you can use:

- Start a new connection: xshell -url [protocol://][user[:password]@]host[:port]
- Open a session: xshell "Session file path"
- Open the session properties dialog box : xshell -prop "Session file path"
- Open the Sessions dialog box: xshell -open
- Register the product key: xshell -register
- Xshell about: xshell -about


---
Technical Support
Monday, January 14, 2013 2:56 AM - Victor

Re: Starting xshell from the command line

 
me want to start xshell with proxy

for example CRT

CRT.exe /FIREWALL /TELNET 127.0.0.1

how to do it in Xshell ?
Tuesday, January 15, 2013 12:29 AM - Support

Re: Starting xshell from the command line

 
Currently, proxy is not supported from command line. It has been requested to developers.

Thank you for requesting this feature.


---
Technical Support

Saturday, March 22, 2014 10:32 PM - Chan

Executing XShell commands from command line

 
Hi,

What I want is a method to run some shell commmands (ssh to a linux machine, run some commands) connect to a using the XShell command line option. But it does not work for me. I went through the xshell4_manual.pdf -> Script APIs also. But the APIs are not working.

Can someone please help me on this. Really appreciate if a step by step procedure can be mentioned.


Thanks.
Sunday, March 23, 2014 6:53 PM - Support

Re: Starting xshell from the command line

 
Can you include the script that you have so far? Also, please add comments in the script file to help us understand your script.


---
Technical Support

Facebook: http://facebook.com/netsarang
Monday, March 24, 2014 1:19 AM - cshanxiao

Re: Starting xshell from the command line

 
Here are some of the Xshell command line options you can use:

- Start a new connection: xshell -url [protocol://][user[:password]@]host[:port]
- Open a session: xshell "Session file path"
- Open the session properties dialog box : xshell -prop "Session file path"
- Open the Sessions dialog box: xshell -open
- Register the product key: xshell -register
- Xshell about: xshell -about

Question:
How to start a new connection with a user name and a privite rsa key file?
Are there any other options support except above?
Monday, March 24, 2014 9:25 PM - Support

Re: Starting xshell from the command line

 
This feature is not available in the current version but has been requested to our developers.


---
Technical Support

Facebook: http://facebook.com/netsarang