Xshell Forum

Starting xshell from the command line

Last post: Friday, January 21, 2011 3:30 AM by Moolchand, 10 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