Xshell Forum

ssh remote arguments/options

Last post: Wednesday, February 27, 2013 10:45 PM by Support, 4 reply

 
Wednesday, February 20, 2013 3:09 AM - subsonik

ssh remote arguments/options

 
Hi,
i've a problem....i've installed a custom ssh-server and to connect to it i need to add some specific remote options/parameters.
Using open-ssh client something like this:

$ssh -t User123@site.com co1234 sys1234 example.com

How could i add those remote parameters also with xshell4 ?

Thanks in advance,

Sub.

Program Ver. : Xshell 4
Wednesday, February 20, 2013 4:55 PM

Deleted by poster

Wednesday, February 20, 2013 5:16 PM - Support

Re: ssh remote arguments/options

 
Currently Xshell cannot send extra parameters other than the following explanation:

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"

Can you please provide us with more detailed information on parameters, description and usage samples?

---
Technical Support
Thursday, February 21, 2013 2:49 AM - subsonik

Re: ssh remote arguments/options

 
>Can you please provide us with more detailed information on parameters, description and usage >samples?

yes...i've a custom modified ssh-server with some particular features: in this case the ssh-server is acting like a proxy for a transparent authentication to a target system, only with domain credential (AD) not with system credential.

$ssh -t User123@site.com co1234 sys1234 example.com

means

$ssh-t proxyuser@proxyserver.com domainuser(AD) targetuser targetsystem.com

the other parameters are used to specify the target-system and AD credential and are required for authentication...

In Putty, for example, i can set this option in the "Connections" properties > "SSH" > "Remote Command"

i hope now the scenario is more clear.


Bye, Thanks!

Sub.
Wednesday, February 27, 2013 10:45 PM - Support

Re: ssh remote arguments/options

 
You can't send extra parameters in Xshell currently but this has been reported to our developers for future implementation.

For now, you could consider using the Login script. It is a Xshell feature that you can use to connect to the destination server via intermediary server. You can find this feature in the session properties.

---
Technical Support