Linux中使用expect脚本实现远程机器自动登录 首先创建一个expect脚本ssh_expect,文件内容如下: ! usr bin expect -f set hostname [lindex $argv 0 Linux Shell 2022-04-10 59 点赞 0 评论 89 浏览