From 82a47ae5c388030d6e13b44cc23b6c1639812ad5 Mon Sep 17 00:00:00 2001 From: Hans Nilsson Date: Wed, 8 Nov 2017 12:26:09 +0100 Subject: ssh: Document engine_key_ref() returned from ssh_server_key:host_key/2 --- lib/ssh/doc/src/ssh_server_key_api.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/ssh/doc/src/ssh_server_key_api.xml b/lib/ssh/doc/src/ssh_server_key_api.xml index 0d7b079e19..c6808b95d1 100644 --- a/lib/ssh/doc/src/ssh_server_key_api.xml +++ b/lib/ssh/doc/src/ssh_server_key_api.xml @@ -82,8 +82,9 @@ DaemonOptions = proplists:proplist() Options provided to ssh:daemon/[2,3]. The option list given in the key_cb option is available with the key key_cb_private. - Key = private_key() - Private key of the host matching the Algorithm. + Key = private_key() | crypto:engine_key_ref() + Private key of the host matching the Algorithm. + It may be a reference to a 'ssh-rsa', rsa-sha2-* or 'ssh-dss' (NOT ecdsa) key stored in a loaded Engine. Reason = term() -- cgit v1.2.3