Git Product home page Git Product logo

app-goto2's Introduction

NAME

App::Goto2 - Easily SSH to many servers

SYNOPSIS

use App::Goto2;

DESCRIPTION

App::Goto2 is intended to take the strain out of having a large number of servers you frequently have to access via SSH. It allows you to set up nicknames, use partial hostnames, and auto-detect available AWS EC2 instances and work out which one(s) you actually want. It also allows for iterating over a number of machines one after the other, and the specification of an optional command to be run on the remote machine(s).

Written by somebody who frequently had to SSH to a vast number of machines in multiple domains, with SSH running on numerous ports, with a variety of usernames, using a variety of SSH keys; and got sick of trying to remember all the details when writing for loops to remotely execute commands on them all.

You can get a lot of the same functionality (port/user/aliases/etc) just by updating your ssh config file, but (a) it's harder to share a config file, (b) it wouldn't have the EC2 integration and (c) it doesn't lend itself to wildcards so well.

CONFIG

By default, the config file will be looked for in ~/.go2/config.yml

An example layout:

---
hosts:
  foo:
    hostname: fubar.example.com
    user: myname
    port: 2222
  bar:
    hostname: bar.example.com
    user: myothername
aws:
  AWSAccessKeyId: ASDFGHJKLZXCVBNMQWER
  SecretAccessKey: kmj5jgGg7gGKJkqkohknKJHkzhk7hKJHLJKt6tw
  region: eu-west-1
  domain: .example.com

AUTHOR

Dominic Humphries [email protected]

COPYRIGHT

Copyright 2014- Dominic Humphries

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

App::Goto, App::Goto::Amazon

app-goto2's People

Stargazers

Keith Broughton avatar

Watchers

James Cloos avatar Dominic avatar

app-goto2's Issues

Missing dependency

I got following error by missing IO::Interactive.

% prove -bv t/basic.t
t/basic.t .. Can't locate IO/Interactive.pm in @INC (you may need to install the IO::Interactive module) (@INC contains: /home/syohei/.cpanm/work/1411697109.1398/App-Goto2-0.01/blib/lib /home/syohei/.cpanm/work/1411697109.1398/App-Goto2-0.01/blib/arch /home/syohei/.opam/4.01.0/lib/perl5 /home/syohei/.plenv/versions/5.20.1/lib/perl5/site_perl/5.20.1/x86_64-linux-thread-multi /home/syohei/.plenv/versions/5.20.1/lib/perl5/site_perl/5.20.1 /home/syohei/.plenv/versions/5.20.1/lib/perl5/5.20.1/x86_64-linux-thread-multi /home/syohei/.plenv/versions/5.20.1/lib/perl5/5.20.1 .) at /home/syohei/.plenv/versions/5.20.1/lib/perl5/site_perl/5.20.1/MooseX/App/Message/BlockColor.pm line 14.
BEGIN failed--compilation aborted at /home/syohei/.plenv/versions/5.20.1/lib/perl5/site_perl/5.20.1/MooseX/App/Message/BlockColor.pm line 14.
Compilation failed in require at /home/syohei/.plenv/versions/5.20.1/lib/perl5/site_perl/5.20.1/MooseX/App/Plugin/Color/Meta/Class.pm line 11.
BEGIN failed--compilation aborted at /home/syohei/.plenv/versions/5.20.1/lib/perl5/site_perl/5.20.1/MooseX/App/Plugin/Color/Meta/Class.pm line 11.
Compilation failed in require at /home/syohei/.plenv/versions/5.20.1/lib/perl5/site_perl/5.20.1/Module/Runtime.pm line 317.
BEGIN failed--compilation aborted at /home/syohei/.cpanm/work/1411697109.1398/App-Goto2-0.01/blib/lib/App/Goto2.pm line 9.
Compilation failed in require at t/basic.t line 3.
BEGIN failed--compilation aborted at t/basic.t line 3.
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run 

Test Summary Report
-------------------
t/basic.t (Wstat: 512 Tests: 0 Failed: 0)
  Non-zero exit status: 2
  Parse errors: No plan found in TAP output
Files=1, Tests=0,  1 wallclock secs ( 0.05 usr  0.00 sys +  1.07 cusr  0.05 csys =  1.17 CPU)
Result: FAIL

IO::Interactive is recommended module of MooseX::App::Simple.
It is not installed without --with-recommends option of cpanm.

https://github.com/maros/MooseX-App/blob/master/Makefile.PL#L24

I suppose that either MooseX::App::Simple or App::Goto2 should fixes dependency.

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.