From b01330a6d0bf6c56cce2b70b661fcfc304f4a1a8 Mon Sep 17 00:00:00 2001 From: Tobias Langer Date: Tue, 11 Jun 2024 08:16:53 +0200 Subject: [PATCH] doc(ssh): use consistent name for ssh_config file --- README.md | 8 ++++---- src/cli.rs | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index c6772bb..fb2f989 100644 --- a/README.md +++ b/README.md @@ -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 ~]$ ``` diff --git a/src/cli.rs b/src/cli.rs index 863708c..cc7d622 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -310,7 +310,7 @@ pub enum SshConfig { #[arg(short = 'k', long = "key")] priv_key_path: Option, /// 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,