Skip to content

Comments

Add ability to set Path option in .sshconfig#58

Merged
nosduco merged 2 commits intonosduco:mainfrom
Chayanon-Ninyawee:main
Sep 29, 2025
Merged

Add ability to set Path option in .sshconfig#58
nosduco merged 2 commits intonosduco:mainfrom
Chayanon-Ninyawee:main

Conversation

@Chayanon-Ninyawee
Copy link
Contributor

@Chayanon-Ninyawee Chayanon-Ninyawee commented Aug 13, 2025

The path can be set as a comment like this:

Host my-alias
    HostName example.com
    User myuser
    # Path=/home/myuser/projects

I know this is a bit hacky, but it's the only way I think it would work for .sshconfig

@nosduco
Copy link
Owner

nosduco commented Sep 29, 2025

Not a bad solution! The comment side of it is a cool workaround. Thanks!

@nosduco nosduco merged commit 0950e86 into nosduco:main Sep 29, 2025
3 checks passed
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

Successfully merging this pull request may close these issues.

2 participants