Skip to content
Snippets Groups Projects
  • Esben Haabendal's avatar
    26492f0e
    openharmony-standard-image-tests: Fix ptest ssh timeout in QEMU · 26492f0e
    Esben Haabendal authored
    
    SSH host keys are generated by sshdgenkeys.service, which is started by socket
    activation on first SSH connection. On QEMU this can take a very long time, even
    more than the 300 seconds that is the default timeout when running SSH commands
    testimage recipes.
    
    Pre-generated SSH host keys prevents this.
    
    Note, this is only done in the -test image, as it is insecure and should never
    be done in images used for other purposes!
    
    Signed-off-by: default avatarEsben Haabendal <esben@geanix.com>
    26492f0e
    History
    openharmony-standard-image-tests: Fix ptest ssh timeout in QEMU
    Esben Haabendal authored
    
    SSH host keys are generated by sshdgenkeys.service, which is started by socket
    activation on first SSH connection. On QEMU this can take a very long time, even
    more than the 300 seconds that is the default timeout when running SSH commands
    testimage recipes.
    
    Pre-generated SSH host keys prevents this.
    
    Note, this is only done in the -test image, as it is insecure and should never
    be done in images used for other purposes!
    
    Signed-off-by: default avatarEsben Haabendal <esben@geanix.com>
Code owners
Assign users and groups as approvers for specific file changes. Learn more.