2024-04-29 18:43:44 发布
网友
我尝试使用以下run命令装载SSHFS
run("sshfs -o reconnect -C -o workaround=all localhost:/home/test/ /mnt")
它失败了,错误如下
fuse: bad mount point `/mnt': Transport endpoint is not connected
但是如果我把它妖魔化的话。有什么办法吗?。在
最后我发现SSH有问题,需要传递pty=False标志。在
run("sshfs -o reconnect -C -o workaround=all localhost:/home/test/ /mnt",pty=False)
最后我发现SSH有问题,需要传递pty=False标志。在
相关问题 更多 >
编程相关推荐