Starting xshell from the command line [18]

Starting xshell from the command line

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

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



Re: Starting xshell from the command line

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

Go to Xshell directory and use the following command.

C:\Program Files\NetSarang\Xshell> xshell /url ssh://username@ipaddress:port


Re: Re: Starting xshell from the command line

Friday, April 28, 2006 9:06 PM - Stuart


Thank you.


Re: Re: Starting xshell from the command line

Tuesday, July 11, 2006 10:56 PM - Mark

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!



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

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

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


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

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

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.


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

Wednesday, July 12, 2006 1:17 PM - Support

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


Re: Starting xshell from the command line

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

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!


Re: Starting xshell from the command line

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

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.


Re: Starting xshell from the command line

Wednesday, November 3, 2010 2:13 AM - Support

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


----
Technical Support


Re: Starting xshell from the command line

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

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


Re: Starting xshell from the command line

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

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.


Re: Starting xshell from the command line

Wednesday, November 7, 2012 5:12 PM - Support

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


Re: Starting xshell from the command line

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

me want to start xshell with proxy

for example CRT

CRT.exe /FIREWALL /TELNET 127.0.0.1

how to do it in Xshell ?


Re: Starting xshell from the command line

Tuesday, January 15, 2013 12:29 AM - Support

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

Thank you for requesting this feature.


---
Technical Support



Executing XShell commands from command line

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

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.


Re: Starting xshell from the command line

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

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


Re: Starting xshell from the command line

Monday, March 24, 2014 1:19 AM - cshanxiao

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?


Re: Starting xshell from the command line

Monday, March 24, 2014 9:25 PM - Support

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


---
Technical Support

Facebook: http://facebook.com/netsarang


Previous views: 162