美文网首页
MacOS新建ITerm2通过ssh自动登录详解

MacOS新建ITerm2通过ssh自动登录详解

作者: 会飞的水珠 | 来源:发表于2018-08-17 20:38 被阅读0次

    一、安装expect

    brew install expect


    二、使用item2的profiles 和expect脚本 

    1.新建:vim /usr/local/bin/autoSsh.exp

    2.设置权限:chmod -R 777 /usr/local/bin/autoSsh.exp

    3.如图操作

    按图设置

    4.完工。

    相关文章

      网友评论

          本文标题:MacOS新建ITerm2通过ssh自动登录详解

          本文链接:https://www.haomeiwen.com/subject/tkntiftx.html