Code Monkey home page Code Monkey logo

ssh-auto-login-manage's Introduction

ssh-auto-login-manage

SSH auto login without password and managing ssh hosts list on Mac OSX & Linux.

You can use these scripts instead of SecureCRT, xshell.

Refer to ssh-auto-login and sshgo.

###How to use

  1. git clone https://github.com/flying5/ssh-auto-login-manage.git

  2. Modify file /path/to/ssh-auto-login-manage/hosts, use your hosts, you can set the special username & password & id_file for each hostname, and support the split with blankspace:

    deploy
        1.1.1.1  user1  password1
        2.2.2.2  user2  #use Public key authentication
        3.3.3.3  user3 -i /path/to/id_file.pem  #use id file to login
    Online-1
        4.4.4.4 user password #the first node will default as the below server's jumper server,if below server with section of indent
        intenal.server # below servers will use 4.4.4.4 as the jumper server
            10.0.2.10 user3 password3
            10.0.2.11 user4 password4
    Online-2
        5.5.5.5:22222 user5 password5 #use the special port
        6.6.6.6 user6 password6
    
  3. Run script ./sshgo, or you can alias sshgo command, add the line to the end of ~/.bash_profile and source it:

  • alias sshgo='/path/to/ssh-auto-login-manage/sshgo'
  1. enjoy the sshgo.

###screenshot screenshot


说明

  • ssh免密码自动登录和主机管理,可以替代SecureCRT的自动登录。

  • Mac下的term功能较弱,无法提供像SecureCRT那样方便的主机管理和自动登录功能。在网上找到用expect做自动登录的项目ssh-auto-login,和一个用python写的主机管理界面,于是把两个工程合并在一起,就是现在这个工程了。

  • 参考了 ssh-auto-login and sshgo

ssh-auto-login-manage's People

Contributors

flying5 avatar upton avatar

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.