2007-06-17 11:19:18 +00:00
|
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
|
2004-08-01 16:00:18 +00:00
|
|
|
<html>
|
|
|
|
<head>
|
2007-06-17 11:19:18 +00:00
|
|
|
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html;CHARSET=iso-8859-1">
|
|
|
|
<meta name="keywords" content="Virtual Screen, Open Source, Software" />
|
|
|
|
<meta name="description" content="Mouse and Keyboard Sharing" />
|
|
|
|
<link rel="stylesheet" type="text/css" href="synergy.css" media="screen" />
|
|
|
|
<title>Synergy Network Security Guide</title>
|
2004-08-01 16:00:18 +00:00
|
|
|
</head>
|
|
|
|
<body class="main">
|
|
|
|
<p>
|
2007-06-17 11:19:18 +00:00
|
|
|
</p><h3>Authentication and Encryption</h3><p>
|
2004-08-01 16:00:18 +00:00
|
|
|
Synergy does not do any authentication or encryption. Any computer
|
|
|
|
can connect to the synergy server if it provides a screen name known
|
|
|
|
to the server, and all data is transferred between the server and the
|
|
|
|
clients unencrypted which means that anyone can, say, extract the
|
|
|
|
key presses used to type a password. Therefore, synergy should not
|
|
|
|
be used on untrusted networks.
|
2007-06-17 11:19:18 +00:00
|
|
|
</p><p>
|
2004-08-01 16:00:18 +00:00
|
|
|
However, there are tools that can add authentication and encryption
|
|
|
|
to synergy without modifying either those tools or synergy. One
|
|
|
|
such tool is SSH (which stands for secure shell). A free implementation
|
2007-06-17 11:19:18 +00:00
|
|
|
of SSH is called <a target="_top" href="http://www.openssh.com/">OpenSSH</a> and runs
|
2004-08-01 16:00:18 +00:00
|
|
|
on Linux, many Unixes, and Windows (in combination with
|
2007-06-17 11:19:18 +00:00
|
|
|
<a target="_top" href="http://www.cygwin.com/">Cygwin</a>).
|
|
|
|
</p><p>
|
|
|
|
</p><h3>Configuring the Server</h3><p>
|
2004-08-01 16:00:18 +00:00
|
|
|
Install the OpenSSH server on the same computer as the synergy server.
|
|
|
|
Configure the OpenSSH server as usual (synergy doesn't demand any
|
|
|
|
special options in OpenSSH) and start it. Start the synergy server as
|
|
|
|
usual; the synergy server requires no special options to work with
|
|
|
|
OpenSSH.
|
2007-06-17 11:19:18 +00:00
|
|
|
</p><p>
|
|
|
|
</p><h3>Configuring the Clients</h3><p>
|
2004-08-01 16:00:18 +00:00
|
|
|
Install the OpenSSH client on each synergy client computer. Then, on
|
|
|
|
each client, start the OpenSSH client using port forwarding:
|
|
|
|
<pre>
|
|
|
|
ssh -f -N -L 24800:<span class="arg">server-hostname</span>:24800 <span class="arg">server-hostname</span>
|
|
|
|
</pre>
|
|
|
|
The <span class="arg">server-hostname</span> is the name or address
|
|
|
|
of the computer with the OpenSSH and synergy servers.
|
|
|
|
The 24800 is the default network port used by synergy; if you use
|
|
|
|
a different port then replace both instances of 24800 with the port
|
|
|
|
number that you use. Finally, start the synergy client normally
|
|
|
|
except use <span class="code">localhost</span> as the server host
|
|
|
|
name. For example:
|
|
|
|
<pre>
|
|
|
|
synergyc -f localhost
|
|
|
|
</pre>
|
|
|
|
Synergy will then run normally except all communication is passed
|
|
|
|
through OpenSSH which decrypts/encrypts it on behalf of synergy.
|
|
|
|
</p>
|
|
|
|
</body>
|
2007-06-17 11:19:18 +00:00
|
|
|
|
2004-08-01 16:00:18 +00:00
|
|
|
</html>
|