You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After around 6 years, I've returned to a role where I'm using ssh, and need to integrate my assh config with some native ssh config that is generated by internal tooling.
However, I'm still seeing exactly the same as #262 , which was closed as fixed in #297, ie. the hooks are not firing, specifically the AfterConfigWrite hook is not appending ssh config to the generate config file.
This is my test assh.yml:
defaults:
# Defaults are applied to each hosts
ControlMaster: auto
# ControlMasterMkdir: true
ControlPath: ~/tmp/.ssh/cm/%h-%p-%r.sock
ControlPersist: yes
Hooks:
AfterConfigWrite:
- "exec echo {{.SSHConfigPath}}"
- "exec cat ~/.ssh/extra.config >> {{.SSHConfigPath}}"
IdentityFile:
- ~/.ssh/id_rsa
LogLevel: ERROR
Port: 22
After around 6 years, I've returned to a role where I'm using ssh, and need to integrate my assh config with some native ssh config that is generated by internal tooling.
However, I'm still seeing exactly the same as #262 , which was closed as fixed in #297, ie. the hooks are not firing, specifically the AfterConfigWrite hook is not appending ssh config to the generate config file.
This is my test assh.yml:
I run assh with this command-line:
This is the output:
The generated config file looks like this:
Am I doing something wrong, or is this still broken?
The text was updated successfully, but these errors were encountered: