Skip to main content

sshuttle

The docs cover the Intro to SShuttle and SShuttle Client installation

What is sshuttle

  • sshuttle allows you to create a VPN connection from your machine to any remote server that you can connect to via ssh, as long as that server has a sufficiently new Python installation. ... If run on a router, sshuttle can forward traffic for your entire subnet to the VPN.

For Developers

  • sshuttle Installation steps
Run these commands in terminal
  • ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)

  • brew install shuttle

Connection through sshuttle

  • After installing the sshuttle, To run the sshuttle use below command:

    • Command: sshuttle -r ori-dev@shuttleIP 0/0 -x shuttleIP --no-latency-control
      • If you don’t have the sshuttleIP and access, request the same from DevOps Team.

Note:If you face any issues with the client installation,please contact the DevOps Team

For DevOps

Steps to be followed by the DevOps team

  • Go to the accessmanagement repo.
  • First verify whether user key is present in all_keys. If it is not, ask with the person and get the .pub key add it in all_keys as FirstName.SecondName.key
  • Add the name.key in the users file inside the project shuttle.
  • For e.g: If someone requests the access for dev shuttle then, you will have to add the key in below file.
    • File path: projects/shuttle-dev/userKeys/users
  • Push the code in your branch and raise PR (Pull request) to the main branch (v2).
  • After merged the request, Run this job Link