Please enable JavaScript to view this site.

CMDebug / TCC-RT Help v. 28

Purpose:Connect to server using SSH and start default shell

 

Format:SSHEXEC [/A /F filename /Gn /H fwhost /IPV6 /R port /S /T type /U user /P password] host /L name[:password] "command ..."

 

/L (user:password)

 

host - Host name

command - Command to pass to the host's default shell

 

Usage:

 

The SSHEXEC command establishes a Secure Shell (SSH) connection to a server and starts up the user's default shell. Press Ctrl-C to disconnect from the other system.

 

If you don't specify a user name, SSHEXEC will use the current user name. You can provide a password on the command line by appending it to the user name (i.e., "User:Password"). If you don't provide a password, SSHEXEC will prompt for it.

 

If you want to do redirection on the remote system, enclose the command argument list in double quotes. The double quotes will be removed before passing the commands to the remote system.

 

SSHEXEC will display the host name & user name and prompt for a line of input, then send it to the host shell and return to the prompt to wait for the next line. SSHEXEC will display any output sent by the host to STDOUT and STDERR. When you type "exit" at the prompt, or the host disconnects SSHEXEC will exit.

 

Options:

 

/AAutomatically detect and use firewall system settings, if available

 

/FSend the contents of a file as the stdin input to the SSH server.

 

/GnThe level of detail that is logged (for debugging connection issues). The possible values are:

 

0No messages are logged
1Informational events such as SSH handshake messages are logged
2Detailed data such as individual packet information is logged
3Debug data including all relevant sent and received bytes are logged

 

/HFirewall host name

 

/IPV6Use IPv6 instead of IPv4

 

/LUser name (ID).

 

/PFirewall user password

 

/RRemote port number

 

/SDisplay SSH status messages (for debugging connection issues)

 

/TnFirewall type, where n is:

 

1Connect through a tunneling proxy. The firewall port is set to 80.
2Connect through a SOCKS4 proxy. The firewall port is set to 1080.
3Connect through a SOCKS5 proxy. The firewall port is set to 1080.
10Connect through a SOCKS4A proxy. The firewall port is set to 1080.

 

/UFirewall user name