Skip to content

Instantly share code, notes, and snippets.

@wudixiaotie
Created November 1, 2016 09:03
Show Gist options
  • Save wudixiaotie/0bf17542174345936056dfa7b1c65e8c to your computer and use it in GitHub Desktop.
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.
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