1, 正常使用用户密码登录堡垒机并保存登陆配置
2, 配置登陆脚本
添加第一个:
expect 为空 send :ssh root@ip
添加第二个:
expect root@ip's passwordsend 密码
本文共 119 字,大约阅读时间需要 1 分钟。
1, 正常使用用户密码登录堡垒机并保存登陆配置
2, 配置登陆脚本
添加第一个:
expect 为空 send :ssh root@ip
添加第二个:
expect root@ip's passwordsend 密码
转载地址:http://spanl.baihongyu.com/