From af2a6a5e339d4dad5b2c9d4e4a07533e44e9ec28 Mon Sep 17 00:00:00 2001
From: Eric Kooistra <kooistra@astron.nl>
Date: Mon, 3 Aug 2020 07:40:20 +0200
Subject: [PATCH] Added remote access remmina, rdp.

---
 .../doc/prestudy/desp_howtools_erko.txt       | 39 +++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/applications/lofar2/doc/prestudy/desp_howtools_erko.txt b/applications/lofar2/doc/prestudy/desp_howtools_erko.txt
index 333a8408d0..329e138fa9 100755
--- a/applications/lofar2/doc/prestudy/desp_howtools_erko.txt
+++ b/applications/lofar2/doc/prestudy/desp_howtools_erko.txt
@@ -379,6 +379,45 @@ vi
 - in gvim replace \r --> nothing
 - in uex save new file as Linux, save as, menu edit/preferences/line end
 
+*******************************************************************************
+* Remote access
+*******************************************************************************
+
+* RDP:
+  Instead of Remote Desktop (RDP) use Remmina. It may be necessary to use:
+  ssh -t -L 5900:localhost:5900 -C dop466 'x11vnc -localhost -display :0'
+
+  en daarna remmina
+
+* For ssh access from home without manual hop via the portal, put this in $HOME/.ssh/config:
+
+Host *
+    #User kooistra
+    ServerAliveInterval 60
+    ServerAliveCountMax 30
+    TCPKeepAlive yes
+    ForwardAgent yes
+    ForwardX11 yes
+    ForwardX11Trusted yes
+    Port 22
+    Protocol 2
+    Compression yes
+Host astron
+    User kooistra
+    HostName portal.astron.nl
+Host dop428
+    User hiemstra
+    ProxyCommand ssh -q -A astron netcat 10.87.0.228 22
+Host dop421
+    User hiemstra
+    ProxyCommand ssh -q -A astron netcat 10.87.0.221 22
+Host dop36
+    User hiemstra
+    ProxyCommand ssh -q -A astron netcat 10.87.2.36 22
+Host dop421
+    User hiemstra
+    ProxyCommand ssh -q -A astron netcat 10.87.0.221
+
 
 *******************************************************************************
 * Screen to run a terminal session without ssh connection
-- 
GitLab