=== Test case: ssh_pubkey_SUITE:connect_ed25519_to_rsa_sha2/1 (click for source code)

=== Config value:

    [{fmt,new_format},
     {key_src_dir,"/buildroot/otp/lib/ssh/make_test_dir/ssh_test/ssh_pubkey_SUITE_data/new_format"},
     {watchdog,<0.41428.0>},
     {client_opts,[{key_cb,{ssh_file,[{optimize,space}]}}]},
     {daemon_opts,[{key_cb,{ssh_file,[{optimize,space}]}}]},
     {tc_logfile,"/buildroot/otp/lib/ssh/make_test_dir/ct_logs/ct_run.test_server@b6254513948e.2025-09-05_17.55.15/make_test_dir.ssh_test.logs/run.2025-09-05_17.55.16/ssh_pubkey_suite.connect_ed25519_to_rsa_sha2.71779.html"},
     {tc_group_properties,[{name,new_format}]},
     {tc_group_path,[[{name,option_space}]]},
     {data_dir,"/buildroot/otp/lib/ssh/make_test_dir/ssh_test/ssh_pubkey_SUITE_data/"},
     {priv_dir,"/buildroot/otp/lib/ssh/make_test_dir/ct_logs/ct_run.test_server@b6254513948e.2025-09-05_17.55.15/make_test_dir.ssh_test.logs/run.2025-09-05_17.55.16/log_private/"},
     {nodenames,[]}]

=== Current directory is "/buildroot/otp/lib/ssh/make_test_dir/ct_logs/ct_run.test_server@b6254513948e.2025-09-05_17.55.15"

=== Started at 2025-09-05 18:02:28


*** User 2025-09-05 18:02:28.814 ***🔗
UserSrcFile = "/buildroot/otp/lib/ssh/make_test_dir/ssh_test/ssh_pubkey_SUITE_data/new_format/id_ed25519"
UserDstFile = "/buildroot/otp/lib/ssh/make_test_dir/ct_logs/ct_run.test_server@b6254513948e.2025-09-05_17.55.15/make_test_dir.ssh_test.logs/run.2025-09-05_17.55.16/log_private/user_ed25519_rsa_sha2_new_format/id_ed25519"

*** User 2025-09-05 18:02:28.814 ***🔗
UserPubSrcFile = "/buildroot/otp/lib/ssh/make_test_dir/ssh_test/ssh_pubkey_SUITE_data/new_format/id_ed25519.pub"
AuthorizedKeys = "/buildroot/otp/lib/ssh/make_test_dir/ct_logs/ct_run.test_server@b6254513948e.2025-09-05_17.55.15/make_test_dir.ssh_test.logs/run.2025-09-05_17.55.16/log_private/user_ed25519_rsa_sha2_new_format/authorized_keys"

*** User 2025-09-05 18:02:28.814 ***🔗
HostSrcFile = "/buildroot/otp/lib/ssh/make_test_dir/ssh_test/ssh_pubkey_SUITE_data/new_format/ssh_host_rsa_key"
HostDstFile = "/buildroot/otp/lib/ssh/make_test_dir/ct_logs/ct_run.test_server@b6254513948e.2025-09-05_17.55.15/make_test_dir.ssh_test.logs/run.2025-09-05_17.55.16/log_private/system_ed25519_rsa_sha2_new_format/ssh_host_rsa_key"

*** User 2025-09-05 18:02:28.814 ***🔗
SystemDir = "/buildroot/otp/lib/ssh/make_test_dir/ct_logs/ct_run.test_server@b6254513948e.2025-09-05_17.55.15/make_test_dir.ssh_test.logs/run.2025-09-05_17.55.16/log_private/system_ed25519_rsa_sha2_new_format"
UserDir = "/buildroot/otp/lib/ssh/make_test_dir/ct_logs/ct_run.test_server@b6254513948e.2025-09-05_17.55.15/make_test_dir.ssh_test.logs/run.2025-09-05_17.55.16/log_private/user_ed25519_rsa_sha2_new_format"

*** User 2025-09-05 18:02:28.817 ***🔗
ssh_test_lib:206 Calling ssh:daemon(any, 0, [{system_dir,
                                              "/buildroot/otp/lib/ssh/make_test_dir/ct_logs/ct_run.test_server@b6254513948e.2025-09-05_17.55.15/make_test_dir.ssh_test.logs/run.2025-09-05_17.55.16/log_private/system_ed25519_rsa_sha2_new_format"},
                                             {user_dir,
                                              "/buildroot/otp/lib/ssh/make_test_dir/ct_logs/ct_run.test_server@b6254513948e.2025-09-05_17.55.15/make_test_dir.ssh_test.logs/run.2025-09-05_17.55.16/log_private/user_ed25519_rsa_sha2_new_format"},
                                             {preferred_algorithms,
                                              [{public_key,
                                                ['rsa-sha2-256',
                                                 'ssh-ed25519']}]},
                                             {key_cb,
                                              {ssh_file,[{optimize,space}]}}])

*** User 2025-09-05 18:02:28.818 ***🔗
ssh_test_lib:210 ssh:daemon_info(<0.41520.0>) ->
 {ok,[{port,42747},
      {ip,{0,0,0,0}},
      {profile,default},
      {options,
          [{key_cb,{ssh_file,[{optimize,space}]}},
           {pref_public_key_algs,['rsa-sha2-256','ssh-ed25519']},
           {preferred_algorithms,
               [{kex,
                    ['curve25519-sha256','curve25519-sha256@libssh.org',
                     'curve448-sha512','ecdh-sha2-nistp521',
                     'ecdh-sha2-nistp384','ecdh-sha2-nistp256',
                     'diffie-hellman-group-exchange-sha256',
                     'diffie-hellman-group16-sha512',
                     'diffie-hellman-group18-sha512',
                     'diffie-hellman-group14-sha256']},
                {public_key,['rsa-sha2-256','ssh-ed25519']},
                {cipher,
                    [{client2server,
                         ['aes256-gcm@openssh.com','aes256-ctr','aes192-ctr',
                          'aes128-gcm@openssh.com','aes128-ctr',
                          'chacha20-poly1305@openssh.com']},
                     {server2client,
                         ['aes256-gcm@openssh.com','aes256-ctr','aes192-ctr',
                          'aes128-gcm@openssh.com','aes128-ctr',
                          'chacha20-poly1305@openssh.com']}]},
                {mac,
                    [{client2server,
                         ['hmac-sha2-512-etm@openssh.com',
                          'hmac-sha2-256-etm@openssh.com','hmac-sha2-512',
                          'hmac-sha2-256','hmac-sha1-etm@openssh.com',
                          'hmac-sha1']},
                     {server2client,
                         ['hmac-sha2-512-etm@openssh.com',
                          'hmac-sha2-256-etm@openssh.com','hmac-sha2-512',
                          'hmac-sha2-256','hmac-sha1-etm@openssh.com',
                          'hmac-sha1']}]},
                {compression,
                    [{client2server,[none,'zlib@openssh.com',zlib]},
                     {server2client,[none,'zlib@openssh.com',zlib]}]}]},
           {system_dir,
               "/buildroot/otp/lib/ssh/make_test_dir/ct_logs/ct_run.test_server@b6254513948e.2025-09-05_17.55.15/make_test_dir.ssh_test.logs/run.2025-09-05_17.55.16/log_private/system_ed25519_rsa_sha2_new_format"},
           {user_dir,
               "/buildroot/otp/lib/ssh/make_test_dir/ct_logs/ct_run.test_server@b6254513948e.2025-09-05_17.55.15/make_test_dir.ssh_test.logs/run.2025-09-05_17.55.16/log_private/user_ed25519_rsa_sha2_new_format"}]}]}

*** User 2025-09-05 18:02:28.820 ***🔗

18:02:28.819862 <0.41528.0> Negotiated algorithms:
  kex: 'curve25519-sha256'
  hkey: 'rsa-sha2-256'
  send_mac: 'AEAD_AES_256_GCM'
  recv_mac: 'AEAD_AES_256_GCM'
  encrypt: 'AEAD_AES_256_GCM'
  decrypt: 'AEAD_AES_256_GCM'
  compress: none
  decompress: none
  c_lng: none
  s_lng: none
  send_ext_info: true
  recv_ext_info: true
  kex_strict_negotiated: true



*** User 2025-09-05 18:02:28.820 ***🔗

18:02:28.820034 <0.41524.0> Negotiated algorithms:
  kex: 'curve25519-sha256'
  hkey: 'rsa-sha2-256'
  send_mac: 'AEAD_AES_256_GCM'
  recv_mac: 'AEAD_AES_256_GCM'
  encrypt: 'AEAD_AES_256_GCM'
  decrypt: 'AEAD_AES_256_GCM'
  compress: none
  decompress: none
  c_lng: none
  s_lng: none
  send_ext_info: true
  recv_ext_info: true
  kex_strict_negotiated: true



*** User 2025-09-05 18:02:28.825 ***🔗
ssh_test_lib:181 ssh:connect({0,0,0,0}, 42747, [{user_dir,
                                                 "/buildroot/otp/lib/ssh/make_test_dir/ct_logs/ct_run.test_server@b6254513948e.2025-09-05_17.55.15/make_test_dir.ssh_test.logs/run.2025-09-05_17.55.16/log_private/user_ed25519_rsa_sha2_new_format"},
                                                {silently_accept_hosts,true},
                                                {user_interaction,false},
                                                {preferred_algorithms,
                                                 [{public_key,
                                                   ['rsa-sha2-256',
                                                    'ssh-ed25519']}]},
                                                {key_cb,
                                                 {ssh_file,
                                                  [{optimize,space}]}}])
 -> {ok,<0.41524.0>}



=== Ended at 2025-09-05 18:02:28
=== successfully completed test case
=== === Returned value: ok


Test run history | Top level test index | Latest test result