会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
【老王公众号】
CTO老王
博客园
首页
新随笔
联系
订阅
管理
2015年2月9日
Linux - expect自动化远程登录脚本
摘要: 简单模式:#!/usr/bin/expect -f set timeout 5 spawn ssh root@192.168.0.1expect "*assword*" send "root\r" expect "#" send "ifconfig \r" expect eo...
阅读全文
posted @ 2015-02-09 15:10 CTO老王
阅读(8308)
评论(1)
推荐(0)
公告