FlexDeploy utilizes SSH to communicate with remote server (known as Endpoint in FlexDeploy topology). For Microsoft Windows, Cygwin was required to establish SSH connectivity. I had described use of Copssh as well in a previous blog entry. Copssh is based on Cygwin. Now FlexDeploy 5.3 has introduced connectivity using Windows SSH server which is available for Windows 2019 Server and Windows 10. In addition, this support also works with third party SSH servers like Bitvise SSH Server.

Let’s examine this in detail. We have Windows server enabled with SSH Server, see below.

Let’s check this connectivity by using SSH client like Putty.

When prompted, login using proper credentials.

Now you can run commands on this prompt.

Let’s see how this works with FlexDeploy.

  • Connection type will be Windows  – SSH in this case. If you are using Cygwin then connection type will be Windows – SSH (Cygwin).
  • FlexDeploy requires Java and a temporary directory for execution of plugin operations.
  • Authentication is supported by using user/password, user/ssh key or user/ssh key with passphrase. Please note that when using password, it it can be securely stored in FlexDeploy credential store or any external credential store of your choice.

Now let’s review same with Bitvise SSH server. Here I have Bitvise SSH server configured and started. This is a commercial option that is easy to configure and could be a valuable option for other Windows versions.

The FlexDeploy Endpoint in this case will be configured same as Windows SSH connection.

Once SSH connectivity is established, you can automate build/deploy processes using FlexDeploy plugins.

You can try these and other features, see Try FlexDeploy Free.

Chandresh Patel

I have been working with Java EE technologies since 2000. After implementing IBM WebSphere and custom framework solutions, my past 10 years have been focused on Oracle Fusion Middleware such as WebLogic, ADF, WebCenter and Coherence. I have been part of many automation projects in the past and have a passion for automation capabilities to help our customers deliver software faster and with higher quality. In my current role as a Principal Architect at Flexagon, I am driving the FlexDeploy product strategy and development to build DevOps/CI/CD features that help our customers.

More posts by Chandresh Patel
    

Leave a Reply

Your email address will not be published. Required fields are marked *