From 981139b30941442b95e309e75ee1ec3f9bf6276a Mon Sep 17 00:00:00 2001 From: Hans Nilsson Date: Fri, 3 Jun 2022 13:53:53 +0200 Subject: ssh: Typing and doc --- lib/ssh/doc/src/ssh.xml | 13 +++++++++++++ lib/ssh/src/ssh.hrl | 4 +++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/lib/ssh/doc/src/ssh.xml b/lib/ssh/doc/src/ssh.xml index f5952aeae9..61cd02b365 100644 --- a/lib/ssh/doc/src/ssh.xml +++ b/lib/ssh/doc/src/ssh.xml @@ -648,6 +648,19 @@

This variant is kept for compatibility.

+ + no_auth_needed + +

If true, a client is authenticated without any need of + providing any password or key. +

+

This option is only intended for very special applications due + to the high risk of accepting any connecting client. +

+

The default value is false. +

+
+ diff --git a/lib/ssh/src/ssh.hrl b/lib/ssh/src/ssh.hrl index e662122807..a8a5075a53 100644 --- a/lib/ssh/src/ssh.hrl +++ b/lib/ssh/src/ssh.hrl @@ -362,7 +362,9 @@ | {user_passwords, [{UserName::string(),Pwd::string()}]} | {pk_check_user, boolean()} | {password, string()} - | {pwdfun, pwdfun_2() | pwdfun_4()} . + | {pwdfun, pwdfun_2() | pwdfun_4()} + | {no_auth_needed, boolean()} + . -type prompt_texts() :: kb_int_tuple() -- cgit v1.2.1