aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/src/ssh_auth.hrl
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2015-05-13 17:36:24 +0200
committerHans <[email protected]>2015-05-26 15:08:25 +0200
commite5715f37dcfd9c21103232e699390d9736180923 (patch)
treee4bc0721ef3d1ba9736642ae5fb2eab6135a4b6a /lib/ssh/src/ssh_auth.hrl
parente4b26deed9f99b04dae1195144d9cbdbd61be515 (diff)
downloadotp-e5715f37dcfd9c21103232e699390d9736180923.tar.gz
otp-e5715f37dcfd9c21103232e699390d9736180923.tar.bz2
otp-e5715f37dcfd9c21103232e699390d9736180923.zip
ssh: New option 'preferred_algorithms'
This option enables the user to define which algorithms that are to be used as well as their precedences in the negotiation between server and client.
Diffstat (limited to 'lib/ssh/src/ssh_auth.hrl')
-rw-r--r--lib/ssh/src/ssh_auth.hrl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssh/src/ssh_auth.hrl b/lib/ssh/src/ssh_auth.hrl
index 6cd8e6bf14..764c9f4246 100644
--- a/lib/ssh/src/ssh_auth.hrl
+++ b/lib/ssh/src/ssh_auth.hrl
@@ -23,7 +23,7 @@
-define(SUPPORTED_AUTH_METHODS, "publickey,keyboard-interactive,password").
--define(PREFERRED_PK_ALG, 'ssh-rsa').
+-define(PREFERRED_PK_ALGS, ['ssh-rsa','ssh-dss']).
-define(SSH_MSG_USERAUTH_REQUEST, 50).
-define(SSH_MSG_USERAUTH_FAILURE, 51).