首页
IT
登录
6mi
u
盘
搜
搜 索
IT
ssh连接脚本
ssh连接脚本
xiaoxiao
2021-03-25
108
#!/usr/bin/expect set timeout 10 set username [lindex $argv0] set passwd [lindex $argv1] set hostname [lindex $argv2] spawn ssh $username@$hostname expect "*password:" send "passwd\r" interact
转载请注明原文地址: https://ju.6miu.com/read-24153.html
技术
最新回复
(
0
)