网站介绍:文章浏览阅读7.1k次。#!/usr/bin/python2.7import pexpectimport os, getpassdef ssh_command(user, host, password, command): ssh_newkey = 'Are you sure you want to continue connecting' child = pexpect.spawn('ssh -l %s_pexpect ssh.read() 卡死
- 链接地址:https://blog.csdn.net/zhubinqiang/article/details/10198521
- 链接标题:Python pexpec 解决scp ssh_pexpect ssh.read() 卡死-CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:5351
- 网站标签:pexpect ssh.read() 卡死