mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-22 14:11:07 +02:00
create standard ssh keys for root in test-modified images
Review URL: http://codereview.chromium.org/487002
This commit is contained in:
parent
0023873422
commit
c72b190ad8
14
mod_for_test_scripts/350addTestAuthKeys
Executable file
14
mod_for_test_scripts/350addTestAuthKeys
Executable file
@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Copyright (c) 2009 The Chromium OS Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
#
|
||||
# Copy public keys to root's homedir for ssh pubkey auth, which
|
||||
# is necessary for test automation.
|
||||
|
||||
KEYS_DIR=ssh_keys
|
||||
ROOT_AUTHKEYS=/root/.ssh/authorized_keys
|
||||
|
||||
mkdir -p /root/.ssh
|
||||
cat ${KEYS_DIR}/* >> ${ROOT_AUTHKEYS}
|
1
mod_for_test_scripts/ssh_keys/testing_rsa.pub
Normal file
1
mod_for_test_scripts/ssh_keys/testing_rsa.pub
Normal file
@ -0,0 +1 @@
|
||||
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAvsNpFdK5lb0GfKx+FgsrsM/2+aZVFYXHMPdvGtTz63ciRhq0Jnw7nln1SOcHraSz3/imECBg8NHIKV6rA+B9zbf7pZXEv20x5Ul0vrcPqYWC44PTtgsgvi8s0KZUZN93YlcjZ+Q7BjQ/tuwGSaLWLqJ7hnHALMJ3dbEM9fKBHQBCrG5HOaWD2gtXj7jp04M/WUnDDdemq/KMg6E9jcrJOiQ39IuTpas4hLQzVkKAKSrpl6MY2etHyoNarlWhcOwitArEDwf3WgnctwKstI/MTKB5BTpO2WXUNUv4kXzA+g8/l1aljIG13vtd9A/IV3KFVx/sLkkjuZ7z2rQXyNKuJw== ChromeOS test key
|
Loading…
x
Reference in New Issue
Block a user