Mount SSH configuration
Mount custom SSH configurations into workspaces by using a ConfigMap. Extend the default SSH settings with additional parameters or host-specific configurations.
Before you begin
- You have an active
ocsession with your project. See Getting started with the CLI.
About this task
The system sets the default SSH configuration automatically from the SSH secret in User Preferences. You can extend it by mounting an additional .conf file to /etc/ssh/ssh_config.d/.
Procedure
Results
- Start a workspace and verify the SSH configuration file is mounted:
$ cat /etc/ssh/ssh_config.d/ssh-config.conf