How to configure ssh (cygwin) on a Windows system required for TIBCO BusinessEvents (BE) TEA-server deployment

How to configure ssh (cygwin) on a Windows system required for TIBCO BusinessEvents (BE) TEA-server deployment

book

Article ID: KB0074002

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition 5.x/6.x

Description

The BE-TEAagent requires an ssh connection to the deployment server to be able to register a machine and deploy an BE application.  

Issue/Introduction

How to configure ssh (cygwin) on a Windows system required for TIBCO BusinessEvents (BE) TEA-server deployment

Environment

Windows Systems

Resolution

You can use CygWin to enable ssh on a Windows machine.

To configure and install cygwin properly below steps required.
- Install CygWin (run installer, put in textbox ssh and select all required components)
 
CygWin SSH config:
- open Cygwin terminal (shortcut on desktop, run as Administrator)
 
- Execute command: "ssh-host-config"  (answer yes to privileges, confirm to create a new account e.g. sshd, install cygwin as a service (daemon: ntsec)).
--> new NT service available cyg_server
 
- Start CygWin service (services.msc)
 
- Open Cygwin64 Terminal (shortcut on desktop) -> run as administrator
ssh –v localhost
ssh -v <hostname> --> required to create a valid host file
 
The logged in user only able to use ssh sessions currently.
To allow all users of the system to connect and sync windows accounts and groups with ssh execute:
mkpasswd --local > /etc/passwd
mkgroup --local > /etc/group

 
To test if the user is able to login execute:
ssh -l <username> <hostname>