魏蓝

以梦为马

导航

2022年4月17日 #

第六周作业

摘要: 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 魏蓝 阅读(25) 评论(0) 推荐(0) 编辑