mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-08 05:26:58 +02:00
The default is --standard_backdoor, which installs well-known ssh keys and sets a well-known root password. Passing --nostandard_backdoor will cause mod_image_for_test to use ssh keys from ~/.ssh/*.pub instead of the test keys and not set the root password. BUG=chromium-os:11744 TEST=Adhoc Build an image with --standard_backdoor. ssh -i ${SRC}/src/scripts/mod_for_test_scripts/ssh_keys/testing_rsa root@${DUT} ssh root@${DUT} with 'test0000' cat /root/.ssh/authorized_keys # check for the test key Build an image with --nostandard_backdoor. ssh -o PubkeyAuthentication=no root@${DUT} # this will fail ssh root@${DUT} # this should work cat /root/.ssh/authorized_keys # check for just your keys Change-Id: Ie92fbc9d3815f478698c8c94d938daca2b5cd53e Signed-off-by: Elly Jones <ellyjones@chromium.org> Reviewed-on: http://gerrit.chromium.org/gerrit/3449 Reviewed-by: David Rochberg <rochberg@chromium.org> |
||
---|---|---|
.. | ||
ssh_keys | ||
000recordRootFsSize | ||
001changeBuildName | ||
002enableDumps | ||
100setupTestingInterface | ||
200disableIdleSuspend | ||
300changePassword | ||
350addTestAuthKeys | ||
400modifyUpstart | ||
700enableAutoxLogin | ||
710enableAuthTesting | ||
750enableExternalExtensions | ||
900mountHomeExec | ||
test_setup.sh |