=== Test case: ssh_algorithms_SUITE:simple_connect/1 (click for source code)

=== Config value:

    [{pref_algs,
         {preferred_algorithms,
             [{public_key,['ssh-ed25519','ssh-dss']},
              {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',
                   'diffie-hellman-group14-sha1',
                   'diffie-hellman-group-exchange-sha1',
                   'diffie-hellman-group1-sha1']},
              {cipher,
                  [{client2server,
                       ['aes256-gcm@openssh.com','aes256-ctr','aes192-ctr',
                        'aes128-gcm@openssh.com','aes128-ctr',
                        'AEAD_AES_256_GCM','AEAD_AES_128_GCM',
                        'chacha20-poly1305@openssh.com','aes256-cbc',
                        'aes192-cbc','aes128-cbc','3des-cbc']},
                   {server2client,
                       ['aes256-gcm@openssh.com','aes256-ctr','aes192-ctr',
                        'aes128-gcm@openssh.com','aes128-ctr',
                        'AEAD_AES_256_GCM','AEAD_AES_128_GCM',
                        'chacha20-poly1305@openssh.com','aes256-cbc',
                        'aes192-cbc','aes128-cbc','3des-cbc']}]},
              {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','hmac-sha1-96','AEAD_AES_256_GCM',
                        'AEAD_AES_128_GCM']},
                   {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','hmac-sha1-96','AEAD_AES_256_GCM',
                        'AEAD_AES_128_GCM']}]},
              {compression,
                  [{client2server,[none,'zlib@openssh.com',zlib]},
                   {server2client,[none,'zlib@openssh.com',zlib]}]}]}},
     {tag_alg,{public_key,['ssh-ed25519','ssh-dss']}},
     {watchdog,<0.16097.0>},
     {std_simple_sftp_size,25000},
     {tc_logfile,
         "/buildroot/otp/lib/ssh/make_test_dir/ct_logs/ct_run.test_server@6ad7c86e4306.2025-03-12_13.24.47/make_test_dir.ssh_test.logs/run.2025-03-12_13.24.47/ssh_algorithms_suite.simple_connect.38275.html"},
     {tc_group_properties,[{name,'D: public_key ssh-ed25519 + ssh-dss'}]},
     {tc_group_path,[[{name,public_key}]]},
     {data_dir,
         "/buildroot/otp/lib/ssh/make_test_dir/ssh_test/ssh_algorithms_SUITE_data/"},
     {priv_dir,
         "/buildroot/otp/lib/ssh/make_test_dir/ct_logs/ct_run.test_server@6ad7c86e4306.2025-03-12_13.24.47/make_test_dir.ssh_test.logs/run.2025-03-12_13.24.47/log_private/"},
     {nodenames,[]}]

=== Current directory is "/buildroot/otp/lib/ssh/make_test_dir/ct_logs/ct_run.test_server@6ad7c86e4306.2025-03-12_13.24.47"

=== Started at 2025-03-12 13:25:43


*** User 2025-03-12 13:25:43.136 ***🔗
init_per_testcase TC=simple_connect, Alg=['ssh-ed25519','ssh-dss']

*** User 2025-03-12 13:25:43.137 ***🔗
starting pubkey_daemon

*** User 2025-03-12 13:25:43.137 ***🔗
ssh_test_lib:205 Calling ssh:daemon(any, 0, [{failfun,
                                              fun ssh_test_lib:failfun/2},
                                             {auth_methods,"publickey"},
                                             {system_dir,
                                              "/buildroot/otp/lib/ssh/make_test_dir/ct_logs/ct_run.test_server@6ad7c86e4306.2025-03-12_13.24.47/make_test_dir.ssh_test.logs/run.2025-03-12_13.24.47/log_private/system"},
                                             {preferred_algorithms,
                                              [{public_key,
                                                ['ssh-ed25519','ssh-dss']},
                                               {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',
                                                 'diffie-hellman-group14-sha1',
                                                 'diffie-hellman-group-exchange-sha1',
                                                 'diffie-hellman-group1-sha1']},
                                               {cipher,
                                                [{client2server,
                                                  ['aes256-gcm@openssh.com',
                                                   'aes256-ctr','aes192-ctr',
                                                   'aes128-gcm@openssh.com',
                                                   'aes128-ctr',
                                                   'AEAD_AES_256_GCM',
                                                   'AEAD_AES_128_GCM',
                                                   'chacha20-poly1305@openssh.com',
                                                   'aes256-cbc','aes192-cbc',
                                                   'aes128-cbc','3des-cbc']},
                                                 {server2client,
                                                  ['aes256-gcm@openssh.com',
                                                   'aes256-ctr','aes192-ctr',
                                                   'aes128-gcm@openssh.com',
                                                   'aes128-ctr',
                                                   'AEAD_AES_256_GCM',
                                                   'AEAD_AES_128_GCM',
                                                   'chacha20-poly1305@openssh.com',
                                                   'aes256-cbc','aes192-cbc',
                                                   'aes128-cbc','3des-cbc']}]},
                                               {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','hmac-sha1-96',
                                                   'AEAD_AES_256_GCM',
                                                   'AEAD_AES_128_GCM']},
                                                 {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','hmac-sha1-96',
                                                   'AEAD_AES_256_GCM',
                                                   'AEAD_AES_128_GCM']}]},
                                               {compression,
                                                [{client2server,
                                                  [none,'zlib@openssh.com',
                                                   zlib]},
                                                 {server2client,
                                                  [none,'zlib@openssh.com',
                                                   zlib]}]}]},
                                             {user_dir,
                                              "/buildroot/otp/lib/ssh/make_test_dir/ct_logs/ct_run.test_server@6ad7c86e4306.2025-03-12_13.24.47/make_test_dir.ssh_test.logs/run.2025-03-12_13.24.47/log_private/"}])

*** User 2025-03-12 13:25:43.138 ***🔗
ssh_test_lib:209 ssh:daemon_info(<0.16103.0>) ->
 {ok,[{port,39133},
      {ip,{0,0,0,0}},
      {profile,default},
      {options,
          [{auth_methods,"publickey"},
           {failfun,fun ssh_test_lib:failfun/2},
           {pref_public_key_algs,['ssh-ed25519','ssh-dss']},
           {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',
                     'diffie-hellman-group14-sha1',
                     'diffie-hellman-group-exchange-sha1',
                     'diffie-hellman-group1-sha1']},
                {public_key,['ssh-ed25519','ssh-dss']},
                {cipher,
                    [{client2server,
                         ['aes256-gcm@openssh.com','aes256-ctr','aes192-ctr',
                          'aes128-gcm@openssh.com','aes128-ctr',
                          'AEAD_AES_256_GCM','AEAD_AES_128_GCM',
                          'chacha20-poly1305@openssh.com','aes256-cbc',
                          'aes192-cbc','aes128-cbc','3des-cbc']},
                     {server2client,
                         ['aes256-gcm@openssh.com','aes256-ctr','aes192-ctr',
                          'aes128-gcm@openssh.com','aes128-ctr',
                          'AEAD_AES_256_GCM','AEAD_AES_128_GCM',
                          'chacha20-poly1305@openssh.com','aes256-cbc',
                          'aes192-cbc','aes128-cbc','3des-cbc']}]},
                {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','hmac-sha1-96','AEAD_AES_256_GCM',
                          'AEAD_AES_128_GCM']},
                     {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','hmac-sha1-96','AEAD_AES_256_GCM',
                          'AEAD_AES_128_GCM']}]},
                {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@6ad7c86e4306.2025-03-12_13.24.47/make_test_dir.ssh_test.logs/run.2025-03-12_13.24.47/log_private/system"},
           {user_dir,
               "/buildroot/otp/lib/ssh/make_test_dir/ct_logs/ct_run.test_server@6ad7c86e4306.2025-03-12_13.24.47/make_test_dir.ssh_test.logs/run.2025-03-12_13.24.47/log_private/"}]}]}

*** User 2025-03-12 13:25:43.138 ***🔗
started {0,0,0,0}:39133  [{auth_methods,"publickey"},
                          {system_dir,
                           "/buildroot/otp/lib/ssh/make_test_dir/ct_logs/ct_run.test_server@6ad7c86e4306.2025-03-12_13.24.47/make_test_dir.ssh_test.logs/run.2025-03-12_13.24.47/log_private/system"},
                          {preferred_algorithms,
                           [{public_key,['ssh-ed25519','ssh-dss']},
                            {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',
                              'diffie-hellman-group14-sha1',
                              'diffie-hellman-group-exchange-sha1',
                              'diffie-hellman-group1-sha1']},
                            {cipher,
                             [{client2server,
                               ['aes256-gcm@openssh.com','aes256-ctr',
                                'aes192-ctr','aes128-gcm@openssh.com',
                                'aes128-ctr','AEAD_AES_256_GCM',
                                'AEAD_AES_128_GCM',
                                'chacha20-poly1305@openssh.com','aes256-cbc',
                                'aes192-cbc','aes128-cbc','3des-cbc']},
                              {server2client,
                               ['aes256-gcm@openssh.com','aes256-ctr',
                                'aes192-ctr','aes128-gcm@openssh.com',
                                'aes128-ctr','AEAD_AES_256_GCM',
                                'AEAD_AES_128_GCM',
                                'chacha20-poly1305@openssh.com','aes256-cbc',
                                'aes192-cbc','aes128-cbc','3des-cbc']}]},
                            {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',
                                'hmac-sha1-96','AEAD_AES_256_GCM',
                                'AEAD_AES_128_GCM']},
                              {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',
                                'hmac-sha1-96','AEAD_AES_256_GCM',
                                'AEAD_AES_128_GCM']}]},
                            {compression,
                             [{client2server,[none,'zlib@openssh.com',zlib]},
                              {server2client,
                               [none,'zlib@openssh.com',zlib]}]}]},
                          {user_dir,
                           "/buildroot/otp/lib/ssh/make_test_dir/ct_logs/ct_run.test_server@6ad7c86e4306.2025-03-12_13.24.47/make_test_dir.ssh_test.logs/run.2025-03-12_13.24.47/log_private/"}]

*** User 2025-03-12 13:25:43.139 ***🔗
PrivDir "/buildroot/otp/lib/ssh/make_test_dir/ct_logs/ct_run.test_server@6ad7c86e4306.2025-03-12_13.24.47/make_test_dir.ssh_test.logs/run.2025-03-12_13.24.47/log_private/":
{ok,["system","id_ed25519","authorized_keys"]}

PrivDir/system: {ok,["ssh_host_dsa_key"]}

*** User 2025-03-12 13:25:43.144 ***🔗
ssh_test_lib:180 ssh:connect({0,0,0,0}, 39133, [{silently_accept_hosts,true},
                                                {user_dir,
                                                 "/buildroot/otp/lib/ssh/make_test_dir/ct_logs/ct_run.test_server@6ad7c86e4306.2025-03-12_13.24.47/make_test_dir.ssh_test.logs/run.2025-03-12_13.24.47/log_private/"},
                                                {user,"usr1"},
                                                {password,"pwd1"},
                                                {user_interaction,false},
                                                {silently_accept_hosts,true},
                                                {user_interaction,false},
                                                {pref_public_key_algs,
                                                 ['ssh-ed25519','ssh-dss']},
                                                {preferred_algorithms,
                                                 [{public_key,
                                                   ['ssh-ed25519','ssh-dss']},
                                                  {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',
                                                    'diffie-hellman-group14-sha1',
                                                    'diffie-hellman-group-exchange-sha1',
                                                    'diffie-hellman-group1-sha1']},
                                                  {cipher,
                                                   [{client2server,
                                                     ['aes256-gcm@openssh.com',
                                                      'aes256-ctr',
                                                      'aes192-ctr',
                                                      'aes128-gcm@openssh.com',
                                                      'aes128-ctr',
                                                      'AEAD_AES_256_GCM',
                                                      'AEAD_AES_128_GCM',
                                                      'chacha20-poly1305@openssh.com',
                                                      'aes256-cbc',
                                                      'aes192-cbc',
                                                      'aes128-cbc',
                                                      '3des-cbc']},
                                                    {server2client,
                                                     ['aes256-gcm@openssh.com',
                                                      'aes256-ctr',
                                                      'aes192-ctr',
                                                      'aes128-gcm@openssh.com',
                                                      'aes128-ctr',
                                                      'AEAD_AES_256_GCM',
                                                      'AEAD_AES_128_GCM',
                                                      'chacha20-poly1305@openssh.com',
                                                      'aes256-cbc',
                                                      'aes192-cbc',
                                                      'aes128-cbc',
                                                      '3des-cbc']}]},
                                                  {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',
                                                      'hmac-sha1-96',
                                                      'AEAD_AES_256_GCM',
                                                      'AEAD_AES_128_GCM']},
                                                    {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',
                                                      'hmac-sha1-96',
                                                      'AEAD_AES_256_GCM',
                                                      'AEAD_AES_128_GCM']}]},
                                                  {compression,
                                                   [{client2server,
                                                     [none,'zlib@openssh.com',
                                                      zlib]},
                                                    {server2client,
                                                     [none,'zlib@openssh.com',
                                                      zlib]}]}]}])
 -> {ok,<0.16107.0>}

*** User 2025-03-12 13:25:43.144 ***🔗
ssh_algorithms_SUITE:348 connected! <0.16107.0>

*** User 2025-03-12 13:25:43.145 ***🔗
stopped {{0,0,0,0},39133}



=== Ended at 2025-03-12 13:25:43
=== successfully completed test case
=== === Returned value: ok


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