#!/bin/bash

#
# Bash script to be run in cygwin
# For a client trying to connect to a Synergy server over ssh
#
SynServer='192.168.60.24' # Machine acting as synergy server
SSHUser='johns'

ssh -f -N -L 24800:${SynServer}:24800 ${SynServer} -l ${SSHUser}
/cygdrive/c/Program\ Files/Synergy/synergyc --no-daemon --name johns_wks --camp localhost

