Giter Site home page Giter Site logo

ssh_tunnel's Introduction

ssh_tunnel

Simple script that allows you to mount remote directories over ssh, even those that are behind another ssh.

Setup

Open the script file. In "config" section set your username, mountpath and tail parameters.

Usage

 ssh_tunnel [OPTION] HOSTNAME
 ssh_tunnel HOSTNAME
 
 OPTIONS: 
   -h, show this help
   -e, mount remote machine2 which is behind another ssh machine, ssh machine1 --> ssh machine2 
   -u, unmount remote file system dirs
   -f | --off, unmount all mounted dirs and close all ssh processes!
   
 Examples:
    ssh_tunnel username -- mount remote username machine using random port on given mountpoint
    ssh_tunnel froggy -- also possible, mountpoint name will be /home/user/tunnel/froggy
    ssh_tunnel -u /home/user/tunnel/username -- unmount /home/user/tunnel/username dir
    ssh_tunnel -f -- unmount all mounted dirs
    ssh_tunnel -e falken-1 -- mount falken-1 fs on /home/user/tunnel/falken-1

ssh_tunnel's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.