SSH

From Achintya Rao’s Wiki
Revision as of 14:14, 20 March 2020 by Achintya (talk | contribs) (Change sshuttle settings per Adrian's suggestion)

For CERN

For connecting to CERN from off-site (see also Telework), use sshuttle (GitHub repo).

   #!/bin/sh
   
   case $1 in
       connect)
           sshuttle --dns -vr achintya@lxplus.cern.ch 137.138.0.0/16 128.141.0.0/16 128.142.0.0/16 188.184.0.0/15 --daemon --pidfile /tmp/sshuttle.pid
           shift
       ;;
       disconnect)
           kill `cat /tmp/sshuttle.pid`
           shift
       ;;
       *)
           # unknown option
       ;;
   esac
  • Make sure Firefox is configured correctly: Proxy DNS when using SOCKS v5 must be selected, under Network Settings.