zoukankan
html css js c++ java
shell脚本 expect 实现自动登陆
vi auto_ssh.exp
#!/usr/bin/expect
set ipaddress "123.227.159.159"
set passwd "你的密码"
set timeout 30
spawn ssh root@$ipaddress
expect {
"yes/no" {send "yes ";exp_continue}
"password" {send "$passwd "} #必须要加
}
interact
贵有恒,何必三更起五更睡;最无益,只怕一日暴十寒
查看全文
相关阅读:
3164 质因数分解
codevs3249搭积木
codevs 2964公共素数因数
爱改名的小融1
单链表基础练习
并查集(union-find sets)
string类中字符的大小写转换
蒜头君学英语--set()练习
打印锯齿矩阵
堆积木
原文地址:https://www.cnblogs.com/rayong/p/7267714.html
最新文章
UIScrollView
UIPikerView的属性
UIPageControl
UILabel属性
myeclipse发布项目
使用struts碰到的错误
Struts2学习(2)
查看程序使用的端口
myeclipse2017复制项目后如何改web context root
java导包
热门文章
Struts2学习(1)
错误Could not find property [struts.valueStack]
jsp中的<% String path = request.getContextPath(); String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; %>
struts2常见配置解决错误There is no mapped for namespace[/] and action name
Codevs1062路由选择
noip2009提高组解题报告
noip2015提高组day2解题报告
codevs 2669 简单的试炼
洛谷P1865 A % B Problem
4768 跳石头
Copyright © 2011-2022 走看看