lueschem / edi

Embedded development infrastructure.
https://www.get-edi.io
GNU Lesser General Public License v3.0
39 stars 12 forks source link

Fix ssh test on Ubuntu artful. #29

Closed lueschem closed 6 years ago

lueschem commented 6 years ago

Issue:

The ssh test fails on Ubuntu artful due to improved security checks of ssh:

Warning: Permanently added '10.185.156.71' (ECDSA) to the list of known hosts.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@         WARNING: UNPROTECTED PRIVATE KEY FILE!          @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0664 for '/tmp/pytest-of-root/pytest-0/test_build_stretch_container0/test_id_rsa' are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
Load key "/tmp/pytest-of-root/pytest-0/test_build_stretch_container0/test_id_rsa": bad permissions
Permission denied (publickey).