suzieq
suzieq copied to clipboard
[Feature]: Define a specific ssh config file
Suzieq version
0.21.0
Install Type
None
Feature type
New component
Use case
The aim is to not populate the default ssh_config file, and on this file, we define configuration for each site. It deals with SSH parameters and ProxyCommand that will take care of our transport layer and get the socket.
Proposed functionality/solution
Perhaps this could be defined in the credentials.yaml as a key-value option
ssh_config: /path/to/ssh_config_file
- namespace: testing
devices:
- hostname: leaf01
password: my-password
username: vagrant
- hostname: leaf02
keyfile: /path/to/private/key
ssh_config: /path/to/ssh_config_file <----
username: vagrant
- hostname: leaf03
keyfile: /path/to/private/key
username: vagrant
key-passphrase: my-passphrase
- address: 10.0.0.1
username: vagrant
password: my-password
External dependencies
No response