# sshuttle Usage

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/0` where \[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 rkim@asm.tjhsst.edu` and NOT `ssh rkim@asm` 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.edu` to `/etc/resolvconf/resolv.conf.d/base`  After that, you need to run `resolvconf -u` to make these changes to your computer


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.tjhsst.edu/guides/using-sshuttle.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
