-
-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
是不是还缺一个共享session能力 #29
Comments
现在是还不支持的,等 go ssh 库支持后,再研究一下怎么实现。golang/go#32958 |
ControlMaster ControlPath ControlPersist
已支持 ControlMaster、ControlPath 和 ControlPersist。在 v0.1.13 发布前,可以这样安装 |
Warning: start control master failed: stdout read failed: EOF |
加上 --debug 运行,看看输出什么? |
@Nuclear6 另外,你的远程服务器是什么操作系统的? |
debug感觉也没啥有用信息,如果我在config文件填写ControlMaster auto,执行tssh xxxx现状是:会先提示我输入答案,我不输入,一直回车,就会到这个warning,不管她继续回车就到了加载答案开始我的手机认证流程 |
现在的实现是 tssh 调起 openssh 来实现 master 的功能的,也就是当它提示你输入密码或答案时,你要输入。 现在的问题是,用 ControlMaster 时,不支持“记住密码”和“记住答案”,这个目前没有太好的解决办法。 幸好,当 master 存在时,也一样不需要输入密码,“记住密码”的功能也就不是很有必要了。 |
现在只要配置ControlMaster就提示那个warning,我把答案给去掉了也不太行,不知道还有没有其他版本要求 |
你可以在命令行指定不要 ControlMaster,如 |
那跟我不配置ControlMaster auto是不是一样效果 |
是的,如果你觉得“记住密码”比 ControlMaster 好用,你可以那样配置,也可以把 auto 改为 no (不配置的默认值也是 no) |
计划用类似 |
Host *
ControlMaster auto
ControlPath ~/.ssh/master-%r@%h:%p
The text was updated successfully, but these errors were encountered: