[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 2/3] doc: Document new meaning of SSH_BIND_OPTIONS_HOSTKEY


Signed-off-by: Alan Dunn <amdunn@xxxxxxxxx>
---
 src/options.c |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/options.c b/src/options.c
index e272e4b..943d469 100644
--- a/src/options.c
+++ b/src/options.c
@@ -1337,8 +1337,12 @@ static int ssh_bind_set_key(ssh_bind sshbind, char **key_loc,
  *                        Set the bind port, default is 22.
  *
  *                      SSH_BIND_OPTIONS_HOSTKEY:
- *                        Set the server public key type: ssh-rsa or ssh-dss
- *                        (string).
+ *                        Set the path to an ssh host key, regardless
+ *                        of type.  Only one key from per key type
+ *                        (RSA, DSA, ECDSA) is allowed in an ssh_bind
+ *                        at a time, and later calls to this function
+ *                        with this option for the same key type will
+ *                        override prior calls (const char *).
  *
  *                      SSH_BIND_OPTIONS_DSAKEY:
  *                        Set the path to the ssh host dsa key (string).
-- 
1.7.9.5


Follow-Ups:
Re: [PATCH 2/3] doc: Document new meaning of SSH_BIND_OPTIONS_HOSTKEYAndreas Schneider <asn@xxxxxxxxxxxxxx>
References:
[PATCH 0/3] Add generic host key loadingAlan Dunn <amdunn@xxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org