Git Product home page Git Product logo

Comments (6)

lonnywong avatar lonnywong commented on August 25, 2024

你把第二个的双引号去掉试试?

from trzsz-ssh.

zieglar avatar zieglar commented on August 25, 2024

改成 Include ~/Library/Group\ Containers/YCKFLA6N72.app.elpass.macos.group/ssh_config以后
CleanShot 2024-04-10 at 11 21 33
改成 Include ~/Library/Group Containers/YCKFLA6N72.app.elpass.macos.group/ssh_config以后
还是只出现orb

from trzsz-ssh.

lonnywong avatar lonnywong commented on August 25, 2024

问题出在 ssh_config 解释库暂不支持双引号,也不支持 \ 转义,没有正确解释带有空格的路径。

另外,Include 是支持以空格分隔的多个文件的,如:

Include ~/.orbstack/ssh/config ~/.orbstack/ssh/config2 

所以你第二个 Include 配置现在解释错了,认为是两个文件,实际两个文件都不存在。
绕过的办法:你可以建一个没有空格的软链接,然后 Include 那个软链接。

from trzsz-ssh.

kke avatar kke commented on August 25, 2024

You could try replacing spaces with question marks to do pattern matching.

That's not the only problem in the ssh_config library. I've written a better one but it has not been tested in production yet.

from trzsz-ssh.

zieglar avatar zieglar commented on August 25, 2024

解决了,多谢

from trzsz-ssh.

lonnywong avatar lonnywong commented on August 25, 2024

现已支持用引号括起来的空格配置。

v0.1.20 发布前,可以这样安装 go install github.com/trzsz/trzsz-ssh/cmd/tssh@main,安装的路径在 ~/go/bin/

from trzsz-ssh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.