Created
November 1, 2016 09:03
-
-
Save wudixiaotie/0bf17542174345936056dfa7b1c65e8c to your computer and use it in GitHub Desktop.
Set ssh public key for Smart Global Zone. Even reboot will still work.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir -p /usbkey/config.inc | |
# paste your key into this file | |
vi /usbkey/config.inc/authorized_keys | |
echo "root_authorized_keys_file=authorized_keys" >>/usbkey/config |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment