OLD | NEW |
---|---|
(Empty) | |
1 #!/bin/bash | |
2 | |
3 # Copyright (c) 2009 The Chromium OS Authors. All rights reserved. | |
4 # Use of this source code is governed by a BSD-style license that can be | |
5 # found in the LICENSE file. | |
6 # | |
7 # Copy public keys to root's homedir for ssh pubkey auth, which | |
8 # is necessary for test automation. | |
9 | |
10 KEYS_DIR=ssh_keys | |
11 ROOT_AUTHKEYS=/root/.ssh/authorized_keys | |
12 | |
13 mkdir -p /root/.ssh | |
14 cat ${KEYS_DIR}/* >> ${ROOT_AUTHKEYS} | |
OLD | NEW |