第六周作业
摘要:1、编写脚本实现登陆远程主机。(使用expect和shell脚本两种形式)。 expect [root@centos7 ~]# vim exssh.sh #!/usr/bin/expect set IP 10.0.0.13 set PD 123456 set USER root spawn ssh
阅读全文
posted @ 2022-04-17 12:26
以梦为马
posted @ 2022-04-17 12:26
posted @ 2022-04-08 18:29
posted @ 2022-04-05 19:34
posted @ 2022-04-03 21:32