sshdump: Update doc for openssh key note

Add a note, that the key value pair format has to be openssh format

Fixes #18063
pespin/osmux-wip
Roland Knall 2022-04-28 19:58:33 +02:00
parent 1e0f579952
commit f595f3b6ad
2 changed files with 4 additions and 4 deletions

View File

@ -168,7 +168,7 @@ recommended to use keyfiles with a SSH agent.
--sshkey=<SSH private key path>::
+
--
The path to a private key for authentication.
The path to a private key for authentication. NOTE: Only OPENSSH key/value pair format is supported.
--
--remote-interface=<remote interface>::
@ -242,7 +242,7 @@ To see interface configuration options:
arg {number=4}{call=--sshkey}{display=Path to SSH private key}{type=fileselect}
{tooltip=The path on the local filesystem of the private ssh key}{group=Authentication}
arg {number=5}{call=--sshkey-passphrase}{display=SSH key passphrase}{type=password}
{tooltip=Passphrase to unlock the SSH private key}{group=Authentication}
{tooltip=Passphrase to unlock the SSH private key}{group=Authentication (OPENSSH format)}
arg {number=6}{call=--proxycommand}{display=ProxyCommand}{type=string}
{tooltip=The command to use as proxy for the SSH connection}{group=Authentication}
arg {number=7}{call=--remote-interface}{display=Remote interface}{type=string}

View File

@ -295,7 +295,7 @@ static int list_config(char *interface, unsigned int remote_port)
"{type=password}{tooltip=The SSH password, used when other methods (SSH agent "
"or key files) are unavailable.}{group=Authentication}\n", inc++);
printf("arg {number=%u}{call=--sshkey}{display=Path to SSH private key}"
"{type=fileselect}{tooltip=The path on the local filesystem of the private ssh key}"
"{type=fileselect}{tooltip=The path on the local filesystem of the private ssh key (OPENSSH format)}"
"{mustexist=true}{group=Authentication}\n", inc++);
printf("arg {number=%u}{call=--sshkey-passphrase}{display=SSH key passphrase}"
"{type=password}{tooltip=Passphrase to unlock the SSH private key}{group=Authentication}\n",
@ -412,7 +412,7 @@ int main(int argc, char *argv[])
extcap_help_add_option(extcap_conf, "--remote-port <port>", "the remote SSH port");
extcap_help_add_option(extcap_conf, "--remote-username <username>", "the remote SSH username");
extcap_help_add_option(extcap_conf, "--remote-password <password>", "the remote SSH password. If not specified, ssh-agent and ssh-key are used");
extcap_help_add_option(extcap_conf, "--sshkey <public key path>", "the path of the ssh key");
extcap_help_add_option(extcap_conf, "--sshkey <public key path>", "the path of the ssh key (OPENSSH format)");
extcap_help_add_option(extcap_conf, "--sshkey-passphrase <public key passphrase>", "the passphrase to unlock public ssh");
extcap_help_add_option(extcap_conf, "--proxycommand <proxy command>", "the command to use as proxy for the ssh connection");
extcap_help_add_option(extcap_conf, "--remote-interface <iface>", "the remote capture interface");