diff options
author | Hans Nilsson <hans@erlang.org> | 2022-06-03 13:53:53 +0200 |
---|---|---|
committer | Hans Nilsson <hans@erlang.org> | 2022-06-08 08:46:45 +0200 |
commit | 981139b30941442b95e309e75ee1ec3f9bf6276a (patch) | |
tree | e1f848b08bafad93ae4aaf2b839ca15520d0f144 | |
parent | 8119b8c021c217b325d841b7ea0d8f156f389ce4 (diff) | |
download | erlang-981139b30941442b95e309e75ee1ec3f9bf6276a.tar.gz |
ssh: Typing and doc
-rw-r--r-- | lib/ssh/doc/src/ssh.xml | 13 | ||||
-rw-r--r-- | lib/ssh/src/ssh.hrl | 4 |
2 files changed, 16 insertions, 1 deletions
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 @@ </p> <p>This variant is kept for compatibility.</p> </item> + + <tag><marker id="option-no_auth_needed"/><c>no_auth_needed</c></tag> + <item> + <p>If <c>true</c>, a client is authenticated without any need of + providing any password or key. + </p> + <p>This option is only intended for very special applications due + to the high risk of accepting any connecting client. + </p> + <p>The default value is <c>false</c>. + </p> + </item> + </taglist> </desc> </datatype> 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() |