- 博客(1)
- 收藏
- 关注
原创 jenkins远程登陆拉取代码脚本
Yum -y install expect Vim xxx.sh #!/usr/bin/expect set timeout 3 set password xxxxxxx spawn ssh root@xxxxxx Expect { “(yes/no)?”{ Send “yes\r”; Expect “password:”; Send”${password}\r”; Exp_continue; } “Password:”{ Send”${password}\r..
2022-01-06 16:04:45 1378
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人