SSH Synergy
This How-to applies to: any
Synergy is an application which lets you share a mouse and keyboard between multiple machines. This is a simple script which sets up a synergy connection via SSH.
Normally synery uses an insecure TCP connection, which is bad for a number of reasons. For one, anyone can connect and steal your computer. The suggested method of using synergy is via SSH, so I have this script which will start the synergy server, connect to the client, and start the client, and then clean up once you kill the connection.
#!/bin/bash
# Automaticly setup a synergy connection
# Nigel Sim <nigel.sim@gmail.com>
REMOTE_USER=av
REMOTE_HOST=marcos.it.jcu.edu.au
synergys
ssh $REMOTE_USER@$REMOTE_HOST -R 24800:localhost:24800 -x synergyc -f localhost
killall synergys