Git Product home page Git Product logo

go-sshtools's Introduction

Scylla SSH tools

Package sshtools provides a wrapper around SSH client with the following features:

  • Context aware (dial and execution),
  • Keepalive enabled,
  • Can copy files using SCP.

License

Copyright (C) 2017 ScyllaDB

This project is distributed under the Apache 2.0 license. See the LICENSE file for details. It contains software from:

go-sshtools's People

Contributors

mmatczuk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

go-sshtools's Issues

Port sup

Sup is a very nice tool and a good starting point to implement ansible alike functionality. There are some problems with sup I think make it worth to port it here.

  • Sup is somewhat abandonware since pressly is gone, there is a number of PRs and last commit was year ago.
  • Sup SSH lib is not as good as this
    • no keepalives - cannot use for a long living session on AWS and other clouds
    • no context - cannot use in a server
  • Implementation of main function whole flow can be improved the @sitano way
  • The idea of reading ssh config files is broken it's just to complex it fails to deliver what it suggests it provides

Idea:

  • Fork sup
  • Go over PRs and merge what makes sense
  • Create sup package here
  • Port the supfile model - the yaml
  • Port, refactor and add context support in the main sup loop
  • Replace SSH layer with our client
  • Rework the way SSH is configured (I like ssh-agent and I like auto loading of certificates) drop ssh_config reading
  • Port cli

Accept user .ssh configuration

It will be nice if go-sshtools can read .ssh config so no other configration will be needed if user already have connections configured.

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.