aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/src
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2018-10-23 10:42:00 +0200
committerHans Nilsson <[email protected]>2018-10-24 10:11:21 +0200
commit4f80074408ca5d21a56b0b234ff7434c8d155836 (patch)
treee397c652167532569c0b45c839ce3389ce47a0ff /lib/ssh/src
parentd655a343837f4a05ca7a9683d57245734d7482ac (diff)
downloadotp-4f80074408ca5d21a56b0b234ff7434c8d155836.tar.gz
otp-4f80074408ca5d21a56b0b234ff7434c8d155836.tar.bz2
otp-4f80074408ca5d21a56b0b234ff7434c8d155836.zip
ssh: Re-phrase and adjust the documentation (ssh_file.xml)
Diffstat (limited to 'lib/ssh/src')
-rw-r--r--lib/ssh/src/ssh_file.erl6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/ssh/src/ssh_file.erl b/lib/ssh/src/ssh_file.erl
index 954d5b68b6..669b0f9be2 100644
--- a/lib/ssh/src/ssh_file.erl
+++ b/lib/ssh/src/ssh_file.erl
@@ -46,8 +46,10 @@
]).
-type system_dir_daemon_option() :: {system_dir, string()}.
--type user_dir_common_option() :: {user_dir, false | string()}.
--type user_dir_fun_common_option() :: {user_dir_fun, fun()}.
+-type user_dir_common_option() :: {user_dir, string()}.
+-type user_dir_fun_common_option() :: {user_dir_fun, user2dir()}.
+-type user2dir() :: fun((RemoteUserName::string()) -> UserDir :: string()) .
+
-type pubkey_passphrase_client_options() :: {dsa_pass_phrase, string()}
| {rsa_pass_phrase, string()}
| {ecdsa_pass_phrase, string()} .