会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
tintindeng
2016年12月10日
expect
摘要: 登陆 #!/usr/bin/expectset port 22set user rootset host 192.168.1.26set password xxxspawn ssh -l $user $hostexpect {"*yes/no" {send "yes\r"}"*password:"
阅读全文
posted @ 2016-12-10 21:36 tintindeng
阅读(142)
评论(0)
推荐(0)
导航
博客园
首页
新随笔
联系
订阅
管理
公告