摘要: 1、编写脚本实现登陆远程主机。(使用expect和shell脚本两种形式) ~~~bash + expect形式 + [root@centos7 shell]# cat login_expect.sh #!/usr/bin/expect spawn ssh root@192.168.119.129 阅读全文
posted @ 2022-04-15 21:07 wuhaolam 阅读(59) 评论(0) 推荐(0)