diff --git a/channels.c b/channels.c
index 154635df3042e91b4acc3594de540e179e5bb483..c4a15cc59271830d7dfbb3ff9ffbc5f367f824a2 100644
--- a/channels.c
+++ b/channels.c
@@ -39,6 +39,23 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+ /**************************************************************************/
+/*                                                                        */
+/* Copyright (c) 2001, 2011 NoMachine, http://www.nomachine.com/.         */
+/*                                                                        */
+/* NXSSH, NX protocol compression and NX extensions to this software      */
+/* are copyright of NoMachine. Redistribution and use of the present      */
+/* software is allowed according to terms specified in the file LICENSE   */
+/* which comes in the source distribution.                                */
+/*                                                                        */
+/* Check http://www.nomachine.com/licensing.html for applicability.       */
+/*                                                                        */
+/* NX and NoMachine are trademarks of Medialogic S.p.A.                   */
+/*                                                                        */
+/* All rights reserved.                                                   */
+/*                                                                        */
+/**************************************************************************/
+
 #include "includes.h"
 
 #include <sys/types.h>
diff --git a/channels.h b/channels.h
index 10f48ba7433e2fc2a2cdae41f8da34a56448c867..8169e2ae10f30c0d6b0de7b2ee9030df603018cb 100644
--- a/channels.h
+++ b/channels.h
@@ -35,6 +35,23 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+ /**************************************************************************/
+/*                                                                        */
+/* Copyright (c) 2001, 2011 NoMachine, http://www.nomachine.com/.         */
+/*                                                                        */
+/* NXSSH, NX protocol compression and NX extensions to this software      */
+/* are copyright of NoMachine. Redistribution and use of the present      */
+/* software is allowed according to terms specified in the file LICENSE   */
+/* which comes in the source distribution.                                */
+/*                                                                        */
+/* Check http://www.nomachine.com/licensing.html for applicability.       */
+/*                                                                        */
+/* NX and NoMachine are trademarks of Medialogic S.p.A.                   */
+/*                                                                        */
+/* All rights reserved.                                                   */
+/*                                                                        */
+/**************************************************************************/
+
 #ifndef CHANNEL_H
 #define CHANNEL_H
 
diff --git a/clientloop.c b/clientloop.c
index 165d57b861af87939ec9d9a35c196ab0406e07d4..67ee909e63ebc300f3a0799e5cdd66691a3195bf 100644
--- a/clientloop.c
+++ b/clientloop.c
@@ -59,6 +59,23 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/**************************************************************************/
+/*                                                                        */
+/* Copyright (c) 2001, 2011 NoMachine, http://www.nomachine.com/.         */
+/*                                                                        */
+/* NXSSH, NX protocol compression and NX extensions to this software      */
+/* are copyright of NoMachine. Redistribution and use of the present      */
+/* software is allowed according to terms specified in the file LICENSE   */
+/* which comes in the source distribution.                                */
+/*                                                                        */
+/* Check http://www.nomachine.com/licensing.html for applicability.       */
+/*                                                                        */
+/* NX and NoMachine are trademarks of Medialogic S.p.A.                   */
+/*                                                                        */
+/* All rights reserved.                                                   */
+/*                                                                        */
+/**************************************************************************/
+
 #include "includes.h"
 
 #include <sys/types.h>
diff --git a/misc.c b/misc.c
index c0d5d34a1ab8ec4cb97b5e0508a8a1232b54d2fc..2ff124d1bd023ffe5aa62b6c4588140a79d6092a 100644
--- a/misc.c
+++ b/misc.c
@@ -24,6 +24,23 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/**************************************************************************/
+/*                                                                        */
+/* Copyright (c) 2001, 2011 NoMachine, http://www.nomachine.com/.         */
+/*                                                                        */
+/* NXSSH, NX protocol compression and NX extensions to this software      */
+/* are copyright of NoMachine. Redistribution and use of the present      */
+/* software is allowed according to terms specified in the file LICENSE   */
+/* which comes in the source distribution.                                */
+/*                                                                        */
+/* Check http://www.nomachine.com/licensing.html for applicability.       */
+/*                                                                        */
+/* NX and NoMachine are trademarks of Medialogic S.p.A.                   */
+/*                                                                        */
+/* All rights reserved.                                                   */
+/*                                                                        */
+/**************************************************************************/
+
 #include "includes.h"
 
 #include <sys/types.h>
diff --git a/packet.c b/packet.c
index 7e3cf5966a86555abee1c734fb92b80d4c8d80d1..f93f04251b97eb88ef004ed2dcc8d0fc30ac380c 100644
--- a/packet.c
+++ b/packet.c
@@ -37,6 +37,23 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/**************************************************************************/
+/*                                                                        */
+/* Copyright (c) 2001, 2011 NoMachine, http://www.nomachine.com/.         */
+/*                                                                        */
+/* NXSSH, NX protocol compression and NX extensions to this software      */
+/* are copyright of NoMachine. Redistribution and use of the present      */
+/* software is allowed according to terms specified in the file LICENSE   */
+/* which comes in the source distribution.                                */
+/*                                                                        */
+/* Check http://www.nomachine.com/licensing.html for applicability.       */
+/*                                                                        */
+/* NX and NoMachine are trademarks of Medialogic S.p.A.                   */
+/*                                                                        */
+/* All rights reserved.                                                   */
+/*                                                                        */
+/**************************************************************************/
+
 #include "includes.h"
 
 #include <sys/types.h>
diff --git a/readconf.c b/readconf.c
index 39fea1bc75308033fe79a57df7a7b53b508c3130..200c413d9148879e1c84c5a0d4c573bd576d9e6e 100644
--- a/readconf.c
+++ b/readconf.c
@@ -12,6 +12,23 @@
  * called by a name other than "ssh" or "Secure Shell".
  */
 
+/**************************************************************************/
+/*                                                                        */
+/* Copyright (c) 2001, 2011 NoMachine, http://www.nomachine.com/.         */
+/*                                                                        */
+/* NXSSH, NX protocol compression and NX extensions to this software      */
+/* are copyright of NoMachine. Redistribution and use of the present      */
+/* software is allowed according to terms specified in the file LICENSE   */
+/* which comes in the source distribution.                                */
+/*                                                                        */
+/* Check http://www.nomachine.com/licensing.html for applicability.       */
+/*                                                                        */
+/* NX and NoMachine are trademarks of Medialogic S.p.A.                   */
+/*                                                                        */
+/* All rights reserved.                                                   */
+/*                                                                        */
+/**************************************************************************/
+
 #include "includes.h"
 
 #include <sys/types.h>
diff --git a/readconf.h b/readconf.h
index f11dc596444530dc96aa52392ea73f0296bbb67b..e9dcd6b2d372d5edec16b91b63ec5eaf1d050e51 100644
--- a/readconf.h
+++ b/readconf.h
@@ -13,6 +13,23 @@
  * called by a name other than "ssh" or "Secure Shell".
  */
 
+/**************************************************************************/
+/*                                                                        */
+/* Copyright (c) 2001, 2011 NoMachine, http://www.nomachine.com/.         */
+/*                                                                        */
+/* NXSSH, NX protocol compression and NX extensions to this software      */
+/* are copyright of NoMachine. Redistribution and use of the present      */
+/* software is allowed according to terms specified in the file LICENSE   */
+/* which comes in the source distribution.                                */
+/*                                                                        */
+/* Check http://www.nomachine.com/licensing.html for applicability.       */
+/*                                                                        */
+/* NX and NoMachine are trademarks of Medialogic S.p.A.                   */
+/*                                                                        */
+/* All rights reserved.                                                   */
+/*                                                                        */
+/**************************************************************************/
+
 #ifndef READCONF_H
 #define READCONF_H
 
diff --git a/readpass.c b/readpass.c
index c4fc09cb8bea59541651524fbb9e7ac1a6724fe2..2b08e8c1d07e5fed2ca4656414f14ffe268e3871 100644
--- a/readpass.c
+++ b/readpass.c
@@ -23,6 +23,23 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/**************************************************************************/
+/*                                                                        */
+/* Copyright (c) 2001, 2011 NoMachine, http://www.nomachine.com/.         */
+/*                                                                        */
+/* NXSSH, NX protocol compression and NX extensions to this software      */
+/* are copyright of NoMachine. Redistribution and use of the present      */
+/* software is allowed according to terms specified in the file LICENSE   */
+/* which comes in the source distribution.                                */
+/*                                                                        */
+/* Check http://www.nomachine.com/licensing.html for applicability.       */
+/*                                                                        */
+/* NX and NoMachine are trademarks of Medialogic S.p.A.                   */
+/*                                                                        */
+/* All rights reserved.                                                   */
+/*                                                                        */
+/**************************************************************************/
+
 #include "includes.h"
 
 #include <sys/types.h>
diff --git a/ssh.c b/ssh.c
index 5fcf3090386c5b44ce35684b503350a5ce230c83..7fe03fb21970b70c2a310225434135257329907c 100644
--- a/ssh.c
+++ b/ssh.c
@@ -40,6 +40,23 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+ /**************************************************************************/
+/*                                                                        */
+/* Copyright (c) 2001, 2011 NoMachine, http://www.nomachine.com/.         */
+/*                                                                        */
+/* NXSSH, NX protocol compression and NX extensions to this software      */
+/* are copyright of NoMachine. Redistribution and use of the present      */
+/* software is allowed according to terms specified in the file LICENSE   */
+/* which comes in the source distribution.                                */
+/*                                                                        */
+/* Check http://www.nomachine.com/licensing.html for applicability.       */
+/*                                                                        */
+/* NX and NoMachine are trademarks of Medialogic S.p.A.                   */
+/*                                                                        */
+/* All rights reserved.                                                   */
+/*                                                                        */
+/**************************************************************************/
+
 #include "includes.h"
 
 #include <sys/types.h>
diff --git a/ssh.h b/ssh.h
index 312e64e1b27413ca23f2115598dc513a213fa608..4012ab8d9eb6aebfdd43b9b31e1392fb55ff4e31 100644
--- a/ssh.h
+++ b/ssh.h
@@ -12,6 +12,23 @@
  * called by a name other than "ssh" or "Secure Shell".
  */
 
+/**************************************************************************/
+/*                                                                        */
+/* Copyright (c) 2001, 2011 NoMachine, http://www.nomachine.com/.         */
+/*                                                                        */
+/* NXSSH, NX protocol compression and NX extensions to this software      */
+/* are copyright of NoMachine. Redistribution and use of the present      */
+/* software is allowed according to terms specified in the file LICENSE   */
+/* which comes in the source distribution.                                */
+/*                                                                        */
+/* Check http://www.nomachine.com/licensing.html for applicability.       */
+/*                                                                        */
+/* NX and NoMachine are trademarks of Medialogic S.p.A.                   */
+/*                                                                        */
+/* All rights reserved.                                                   */
+/*                                                                        */
+/**************************************************************************/
+
 /* Cipher used for encrypting authentication files. */
 #define SSH_AUTHFILE_CIPHER	SSH_CIPHER_3DES
 
diff --git a/sshconnect.c b/sshconnect.c
index 7292ad536998dba4b78f48c8756555415d09228e..c39905adbdf6565f1cd34a53075fa84ee683bfb6 100644
--- a/sshconnect.c
+++ b/sshconnect.c
@@ -13,6 +13,23 @@
  * called by a name other than "ssh" or "Secure Shell".
  */
 
+/**************************************************************************/
+/*                                                                        */
+/* Copyright (c) 2001, 2011 NoMachine, http://www.nomachine.com/.         */
+/*                                                                        */
+/* NXSSH, NX protocol compression and NX extensions to this software      */
+/* are copyright of NoMachine. Redistribution and use of the present      */
+/* software is allowed according to terms specified in the file LICENSE   */
+/* which comes in the source distribution.                                */
+/*                                                                        */
+/* Check http://www.nomachine.com/licensing.html for applicability.       */
+/*                                                                        */
+/* NX and NoMachine are trademarks of Medialogic S.p.A.                   */
+/*                                                                        */
+/* All rights reserved.                                                   */
+/*                                                                        */
+/**************************************************************************/
+
 #include "includes.h"
 
 #include <sys/types.h>
diff --git a/sshconnect2.c b/sshconnect2.c
index e7fabf92f3dc7f7421b30cb7751eff2a91553335..53ac0c1eaf5b4cd4e0cf01d7da967f84db7d04ea 100644
--- a/sshconnect2.c
+++ b/sshconnect2.c
@@ -24,6 +24,23 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+/**************************************************************************/
+/*                                                                        */
+/* Copyright (c) 2001, 2011 NoMachine, http://www.nomachine.com/.         */
+/*                                                                        */
+/* NXSSH, NX protocol compression and NX extensions to this software      */
+/* are copyright of NoMachine. Redistribution and use of the present      */
+/* software is allowed according to terms specified in the file LICENSE   */
+/* which comes in the source distribution.                                */
+/*                                                                        */
+/* Check http://www.nomachine.com/licensing.html for applicability.       */
+/*                                                                        */
+/* NX and NoMachine are trademarks of Medialogic S.p.A.                   */
+/*                                                                        */
+/* All rights reserved.                                                   */
+/*                                                                        */
+/**************************************************************************/
+
 #include "includes.h"
 
 #include <sys/types.h>
diff --git a/ttymodes.c b/ttymodes.c
index 1ab78ac7c9436b8ba4f9b59ec1095796805fff7f..83313136ec1a06973004b8265586bcb08a2e9a0d 100644
--- a/ttymodes.c
+++ b/ttymodes.c
@@ -43,6 +43,23 @@
  * suitable code.
  */
 
+/**************************************************************************/
+/*                                                                        */
+/* Copyright (c) 2001, 2011 NoMachine, http://www.nomachine.com/.         */
+/*                                                                        */
+/* NXSSH, NX protocol compression and NX extensions to this software      */
+/* are copyright of NoMachine. Redistribution and use of the present      */
+/* software is allowed according to terms specified in the file LICENSE   */
+/* which comes in the source distribution.                                */
+/*                                                                        */
+/* Check http://www.nomachine.com/licensing.html for applicability.       */
+/*                                                                        */
+/* NX and NoMachine are trademarks of Medialogic S.p.A.                   */
+/*                                                                        */
+/* All rights reserved.                                                   */
+/*                                                                        */
+/**************************************************************************/
+
 #include "includes.h"
 
 #include <sys/types.h>