Skip to content

Add configurable SSH config path setting - #349

Open
fioan89 wants to merge 2 commits into
mainfrom
ssh-config-path-setting
Open

Add configurable SSH config path setting#349
fioan89 wants to merge 2 commits into
mainfrom
ssh-config-path-setting

Conversation

@fioan89

@fioan89 fioan89 commented Aug 12, 2026

Copy link
Copy Markdown
Collaborator

Lets Toolbox write its managed SSH config to a separate file instead of always using ~/.ssh/config, so a read-only or externally managed config isn't touched. Changing the path cleans up the managed block left behind in the previous file.

The Save action never triggered field validators or blocked the closing of the page when there were errors in the field configuration. We now recursively go through the fields and call their validators, if any available. When one of them returns an invalid page the Save button can no longer close the page until the issue is resolved. For now we have a validator only for the new field.

Lets Toolbox write its managed SSH config to a separate file instead
of always using ~/.ssh/config, so a read-only or externally managed
config isn't touched. Changing the path cleans up the managed block
left behind in the previous file.
@linear-code

linear-code Bot commented Aug 12, 2026

Copy link
Copy Markdown

DEVEX-632

@fioan89

fioan89 commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator Author
image

The Save action never triggered field validators or blocked closing
the page, since Toolbox only checks a RunnableActionDescription's
validate() before running it, and its own runValidations() helper
does not look inside SectionFields. Action now accepts a validateBlock
hook, and the settings page uses it to recursively validate fields
nested in sections, wiring in a validator for the SSH config path
that checks the target file exists and is writable (or creatable).
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.

Can't list workspaces on Mac; ssh config file permission denied

1 participant