Skip to content

Commit

Permalink
doc(ssh): use consistent name for ssh_config file
Browse files Browse the repository at this point in the history
  • Loading branch information
empwilli committed Jun 11, 2024
1 parent 4036c56 commit b01330a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,14 +181,14 @@ omnect-cli ssh set-connection prod_device

Successfully established ssh tunnel!
Certificate dir: /run/user/1000/omnect-cli
Configuration path: /run/user/1000/omnect-cli/ssh_config
Use the configuration in "/run/user/1000/omnect-cli/ssh_config" to use the tunnel, e.g.:
ssh -F /run/user/1000/omnect-cli/ssh_config prod_device
Configuration path: /run/user/1000/omnect-cli/config
Use the configuration in "/run/user/1000/omnect-cli/config" to use the tunnel, e.g.:
ssh -F /run/user/1000/omnect-cli/config prod_device
```
Now follow the command output to establish a connection to the device as such:

```sh
ssh -F /run/user/1000/omnect-cli/ssh_config prod_device
ssh -F /run/user/1000/omnect-cli/config prod_device

[omnect@prod_device ~]$
```
Expand Down
2 changes: 1 addition & 1 deletion src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ pub enum SshConfig {
#[arg(short = 'k', long = "key")]
priv_key_path: Option<PathBuf>,
/// optional: path where the ssh configuration is stored. Defaults to system
/// local runtime directory (e.g. ${XDG_RUNTIME_DIR}/omnect-cli/ssh_config on
/// local runtime directory (e.g. ${XDG_RUNTIME_DIR}/omnect-cli/config on
/// Linux).
#[arg(short = 'c', long = "config-path")]
config_path: Option<PathBuf>,
Expand Down

0 comments on commit b01330a

Please sign in to comment.