Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

There are OpenSSH distributions available for Windows. We have had some positive experiences with copSSH. This article describes how to setup with the free version of copssh.

However, all OpenSSH distributions are based on cygwin, so you won't find a standard windows shell with the expected environment variables when logging on by ssh. Here's how you can modify your copSSH installation in order to get that environment:

  • Install Download and install copSSH
  • Download ssh_windows.zip
  • Extract both files into the bin directory of your copSSH installation.
  • If necessary, adjust the WINDOWS path in cmd.sh. (cygdrive is correct, that's where the Windows filesystem is mounted in cywin)
  • Run "COPSSH->Activate a User" from the Windows Start Menu.
  • Choose the user you want to active for SSH access and enter "/bin/cmd.sh" as Command Shell. !Attention! You do not have this option in the combobox but you have to type this manually.

Image Added

When you now log in as this user by ssh, you will automatically have a Windows shell and the user's own environment variables.

With this you are now able to setup a JITL SSH Job and execute windows commands with ssh.

Image Added