Skip to content
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

tssh 使用 mac 上 OrbStack 生成的 ProxyCommand 不正常 #160

Closed
bigruid opened this issue Dec 9, 2024 · 8 comments
Closed

tssh 使用 mac 上 OrbStack 生成的 ProxyCommand 不正常 #160

bigruid opened this issue Dec 9, 2024 · 8 comments

Comments

@bigruid
Copy link

bigruid commented Dec 9, 2024

使用ssh可以正常登录,tssh登录报错

image

image

@lonnywong
Copy link
Member

如果手工执行那个 ProxyCommand 会是什么结果?

@bigruid
Copy link
Author

bigruid commented Dec 9, 2024

手工执行会报其他错,不太了解它是怎么实现的
image

@lonnywong
Copy link
Member

你这样执行看看?

cat | '/App...' ssh... 501

@bigruid
Copy link
Author

bigruid commented Dec 9, 2024

执行之后会卡在红线位置,再按一下回车会输出红线下面的内容
image

@lonnywong
Copy link
Member

我知道了,你的配置中有 ProxyUseFdpass,这是 tssh 现在不支持的。

ProxyUseFdpass
        Specifies that ProxyCommand will pass a connected file descriptor back to ssh(1) instead of continuing to execute and pass data.  The default is no.

@bigruid
Copy link
Author

bigruid commented Dec 9, 2024

OK

@lonnywong
Copy link
Member

你看看 OrbStack 有没有不带 fdpass 的用法?

@bigruid
Copy link
Author

bigruid commented Dec 9, 2024

翻了下 orbstack 的 issuss,发现去掉 ProxyCommand 配置也能用,我直接注释掉了
orbstack/orbstack#436 (comment)

@bigruid bigruid closed this as completed Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants