FlexDeploy utilizes SSH for communicating to remote endpoints. For Microsoft Windows, Cygwin is required to provide the Unix-like environment containing the required SSH libraries. Install and setup of Cygwin is defined at FlexDeploy Cygwin Install Guide. In this blog, I will describe use of COPSSH instead of Cygwin.
Reference from https://itefix.net/copssh – Copssh is an OpenSSH server and client implementation for Windows systems with an administration GUI. You can use Copssh for remote administration of your systems or gathering remote information in a secure way. Copssh packages portable OpenSSH, Cygwin and some popular utilities, plus implementing some best practices regarding security.
Note that Copssh is not free but it would be somewhat easier to install and configure.
FlexDeploy Endpoint configuration is no different Copssh than other configurations. Here are the details of setup on my laptop.
I have installed Copssh and SSH service is running.
I have few different users on my Windows 10 laptop.
Now, let’s configure necessary users on Copssh Control Panel.
That is all needed from Copssh configuration perspective. Note that I have given users with Linux shell and Sftp access, but only Linux shell access is needed for FlexDeploy.
Note Windows as Operating System, Directory and JDK with Windows like path. Let’s try testing this connection.
That’s it. Very easy to setup Copssh as SSH server which can be used from FlexDeploy.