Giter Club home page Giter Club logo

myautossh's Introduction

myautossh

Auto Login SSH Server (expect-based)

##本项目思路以及部分源码取自

https://github.com/wufeifei/autossh.git

###这个脚本是给那些将mac系统或者linux系统作为常用操作系统的人准备的,windows系统的专心用xshell吧

Install

$ git clone https://github.com/ooppwwqq0/myautossh.git
$ sudo cp myautossh/myautossh /usr/local/bin/a
$ sudo chmod +x /usr/local/bin/a

Config

$ cat ~/.ssh/autosshrc
server name|ip|user name|password|port|enable autosudo
my server|192.168.1.1|wangping|password|22|1

Usage

$ a
############################################################
#                     [AUTO SSH]                           #
#                                                          #
#                                                          #
# [1] 192.168.1.1:wang                                     #
# [2] 10.0.0.1:root                                        #
# [3] 172.18.1.1:root                                      #
#                                                          #
#                                                          #
############################################################
Server Number:(Input Server Num)

OR

$ a 1

OR Last Login

a !

OR Auto Sudo

$ a 3 sudo

OR Bastion Host And Auto Add Recode

$ a x 192.168.1.1

OR Del Recode

a d 192.168.1.1

myautossh's People

Contributors

ooppwwqq0 avatar

Watchers

James Cloos avatar  avatar

Forkers

wyyczm520

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.