login about faq

In 4.x we used to run remote commands like the following, but this isn't working.

sshg3 user@windowsserver "cmd /C dir"

asked Dec 20 '10 at 20:24

SSH%20KB's gravatar image


With version 6.x of SSH Tectia server for Windows, remote commands should not include "cmd /C".

The remote command...

sshg3 user@windowsserver "cmd /C dir"

...would be executed as...

cmd /C "cmd /C dir"

...which will fail on many Windows systems.

In version 6.x of the SSH Tectia Server for Windows, remote commands are automatically executed through "cmd /C". For example, when running a remote command like this:

sshg3 user@windowsserver dir

what gets executed on the server is "cmd /C dir" which is the desired outcome.

This is different from the behavior in version 4.x of the SSH Tectia Server for Windows, where the remote command would have needed the cmd /C part to be successful.


answered Dec 20 '10 at 20:31

Joe%20-%20Tectia%20Support's gravatar image

Joe - Tectia Support ♦♦

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Dec 20 '10 at 20:24

Seen: 5,458 times

Last updated: Dec 20 '10 at 20:31

All user contributed content licensed under the cc-by-sa license.
Powered by OSQA.