会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
TIM
敬畏理想,相信未来。
博客园
首页
新随笔
联系
订阅
管理
2021年4月20日
linux通过expect远程登录并执行命令
摘要: #!/usr/bin/expectset timeout 60 set username root set password 88888888 set hostname syd spawn ssh $username@$hostnameexpect {"yes/no"{send "yes\r"; e
阅读全文
posted @ 2021-04-20 16:02 TIMLONG
阅读(369)
评论(0)
推荐(0)
编辑
公告