GithubHelp home page GithubHelp logo

aadrian / ssh-tunnel-manager Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tinned-software/ssh-tunnel-manager

1.0 1.0 0.0 28 KB

This SSH-Tunnel-Manager script aims to setup one or more configured ssh connection with port forwarding. These tunnels can be comfortable managed.

Home Page: http://www.tinned-software.net/en/scripts_ssh-tunnel-manager/

License: GNU General Public License v3.0

Shell 100.00%

ssh-tunnel-manager's Introduction

SSH-Tunnel-Manager

The SSH-Tunnel-Manager is a bash shell script created to manage ssh tunnels.

This SSH-Tunnel-Manager script aims to setup one or more configured ssh connection with port forwarding. The list of functionality includes the following:

  • Multiple tunnels can be configured
    
  • Flexible configuration to forward mulitiple ports ber connection
    
  • Reconnect to the SSH server if connection lost
    
  • Log all reconnect attempts to logfile
    
  • Manage configured tunnels (start/stop/restart)
    
  • Manage tunnels (start/stop/restart) individual by tunnel name
    

Download & Installation

image Download SSH-Tunnel-Manager from Github

To install the the script download it from Github and upload it to your server. Copy the example config file "ssh-tunnel-manager.conf.example" to "ssh-tunnel-manager.conf" and change its configuration values. The configuration file contains a description for its configuration items. To see the available commandline options execute "ssh-tunnel-manager.ssh -h".

Description

Connecting to a service on a server that does not expose the service port or connection between servers not exposing there ports publicly is only possible via some kind of VPN or port forwarding. SSH port forwarding provides a simple port forwarding to the service you need to access.

With the SSH-Tunnel-Manager multiple SSH connections to different servers with different portforwardings can be configured. These tunnels can be comfortable managed. The script provides a start command to start the tunnels as well as a stop command to stop the running tunnels. The integrated logic will as well automatically restart the ssh tunnel if the connection to the ssh server should be lost.

The SSH-Tunnel-Manager script will establish a ssh connection for every configured tunnel. Entering the password on every connect can be annoying. I suggest a SSH passwordless login with SSH key setup. This allows the script to run without user interaction.

ssh-tunnel-manager's People

Contributors

gerhard-tinned avatar kuzukami avatar

Stargazers

 avatar

Watchers

 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.