Code Monkey home page Code Monkey logo

connect-sh's Introduction

Connect

Attention ! This is a work in progress, it can and will be improved over time.

If you're like me and have to connect to your clients' instances in a pinch, this is quite helpful.

Features

  • List your existing connections.
    This script uses ~/.ssh/config and only shows your programmed Hosts connections in order to ease access to your clients.
    It also uses docker ps --formatto list running docker containers.

  • Create a new connection in .ssh/config.
    A few lines will create your distant environment in the config file.

  • Connect to your devices.
    The whole point of the script is to connect to your clients.
    Fist use connect.sh -l to list your connections
    And use connect.sh -h to display Help.

How to use

Clone the repository wherever you want

git clone repo
cd repo
chmod u+x ./connect.sh
./connect.sh

You can as well create an alias or a function in your .bashrc file for an even easier access

alias connect='/path/to/connect.sh'
# OR
function connect{
/path/to/connect.sh
}

connect-sh's People

Contributors

fkozmik 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.