Describes how to access to the CSL network from your laptop via sshuttle
We use sshuttle to access the CSL network on our own computers without having to be connected to a remote access server.
On Ubuntu, you can download sshuttle by running
sudo apt install sshuttle
With root privileges, to make a connection to ras2, run this:
sshuttle -r [username]@ras2.tjhsst.edu 0/0where [username] represents your tj csl account username. After running this, you will need to open a new terminal session to connect to other devices. You also need to add .tjhsst.edu to every host that you want to connect to. For example, you would use
ssh [email protected]and NOT
ssh [email protected]like you would if you were on ras1 or ras2, unless you set up your resolv configuration to allow you to do so.
Setting up resolv.conf to use hostnames without .tjhsst.edu
If you would like to not append .tjhsst.edu, you can modify your resolv config. To do this, you would need to add the line
search csl.tjhsst.edu tjhsst.eduto
/etc/resolvconf/resolv.conf.d/baseAfter that, you need to run
resolvconf -uto make these changes to your computer