Giter VIP home page Giter VIP logo

expect_auto_login's Introduction

expect_auto_login

linux shell利用expect 自动ssh登录
脚本中,
loginpass 后面是ssh 登录的密码

环境要求/前置条件

操作系统必须是linux或类Unix系统
要求安装了expect

centos 安装expect

mkdir expect
cd expect
wget http://prdownloads.sourceforge.net/tcl/tcl8.5.19-src.tar.gz
tar xf tcl8.5.19-src.tar.gz
cd tcl8.5.19
cd unix
./configure
make
make install

wget http://nchc.dl.sourceforge.net/project/expect/Expect/5.45/expect5.45.tar.gz
tar xf expect5.45.tar.gz
cd expect5.45
./configure --with-tcl=/usr/local/lib/ --with-tclinclude=/opt/software/expect/tcl8.5.19/generic/
make
make install

expect_auto_login's People

Contributors

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