@@ -287,7 +287,7 @@ end_per_group(_GroupName, Config) ->
287287
288288init_per_testcase (Tc , Config ) when Tc == no_common_alg_server_disconnects ;
289289 Tc == custom_kexinit ->
290- start_std_daemon (Config , [{preferred_algorithms ,[{public_key ,['ssh-rsa ' ]},
290+ start_std_daemon (Config , [{preferred_algorithms ,[{public_key ,['ssh-ed25519 ' ]},
291291 {cipher ,? DEFAULT_CIPHERS }
292292 ]}]);
293293init_per_testcase (kex_strict_negotiated , Config ) ->
@@ -486,14 +486,14 @@ no_common_alg_server_disconnects(Config) ->
486486 [{silently_accept_hosts , true },
487487 {user_dir , ssh_test_lib :user_dir (Config )},
488488 {user_interaction , false },
489- {preferred_algorithms ,[{public_key ,['ssh-dss ' ]},
489+ {preferred_algorithms ,[{public_key ,['ecdsa-sha2-nistp256 ' ]},
490490 {cipher ,? DEFAULT_CIPHERS }
491491 ]}
492492 ]},
493493 receive_hello ,
494494 {send , hello },
495495 {match , # ssh_msg_kexinit {_ = '_' }, receive_msg },
496- {send , ssh_msg_kexinit }, % with server unsupported 'ssh-dss ' !
496+ {send , ssh_msg_kexinit }, % with server unsupported 'ecdsa-sha2-nistp256 ' !
497497 {match , disconnect (), receive_msg }
498498 ]
499499 ).
@@ -627,7 +627,7 @@ no_common_alg_client_disconnects(Config) ->
627627
628628 % % and finally connect to it with a regular Erlang SSH client
629629 % % which of course does not support SOME-UNSUPPORTED as pub key algo:
630- Result = std_connect (HostPort , Config , [{preferred_algorithms ,[{public_key ,['ssh-dss ' ]},
630+ Result = std_connect (HostPort , Config , [{preferred_algorithms ,[{public_key ,['ecdsa-sha2-nistp256 ' ]},
631631 {cipher ,? DEFAULT_CIPHERS }
632632 ]}]),
633633 ct :log (" Result of connect is ~p " ,[Result ]),
0 commit comments