I think you followed the wrong manual.
You only need to add "customer_metadata": { "root_authorized_keys": "ssh-rsa [put here your putty public key] rsa-key-20160219" } Your Putty public key file will look like: ---- BEGIN SSH2 PUBLIC KEY ---- Comment: "rsa-key-20160107" AAAAB3NzaC1yc2EAAAABJQAAAQEAh2inQ6XzSER42YxtFWtwojvcnXJaRa+lqCBk IchangedthislineWithsomeWordssoidonotpostmyownprivatekeyichangedthisline withsomewordsSoidonotpostMyownprivatekey9n7sZbhCtx+tjdzPvU6iwpXDx8fJLb D+xvRwAASnuuioDuCrEJT69I+uYkBlh/wPFmS/Ichangedthislinewithsomewords soidonotpostmyownprivatekey== ---- END SSH2 PUBLIC KEY ---- Just take the part that I marked bold (just after Comment: "rsa-key-20160107" and before ---- END SSH2 PUBLIC KEY ----) That is the ONLY thing you need to do. Don’t update or run anything else. Van: Fred Liu [mailto:fred_...@issi.com] Verzonden: woensdag 24 februari 2016 6:12 Aan: smartos-discuss@lists.smartos.org Onderwerp: [smartos-discuss] passing SSH keys to the LX brand zone Hi, It looks like adding following “customer_metadat” section in json manifest won’t work. "customer_metadata": { "root_authorized_keys": "ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA8aQRt2JAgq6jpQOT5nukO8gI0Vst+EmBtwBz6gnRjQ4Jw8pERLlMAsa7jxmr5yzRA7Ji8M/kxGLbMHJnINdw/TBP1mCBJ49TjDpobzztGO9icro3337oyvXo5unyPTXIv5pal4hfvl6oZrMW9ghjG3MbIFphAUztzqx8BdwCG31BHUWNBdefRgP7TykD+KyhKrBEa427kAi8VpHU0+M9VBd212mhh8Dcqurq1kC/jLtf6VZDO8tu+XalWAIJcMxN3F3002nFmMLj5qi9EwgRzicndJ3U4PtZrD43GocxlT9M5XKcIXO/rYG4zfrnzXbLKEfabctxPMezGK7iwaOY7w== wooyay@houpla", "user-script" : "/usr/sbin/mdata-get root_authorized_keys > ~root/.ssh/authorized_keys ; /usr/sbin/mdata-get root_authorized_keys > ~admin/.ssh/authorized_keys" } Even after zlogining lx brand zone and manually updating “root_authorized_keys” and “user-script” via mdata-put command and rebooting the lx brand zone, it still doesn’t work. And the only way is manually create “~root/.ssh/authorized_keys”. Thanks. Fred smartos-discuss | <https://www.listbox.com/member/archive/184463/=now> Archives <https://www.listbox.com/member/archive/rss/184463/27966043-4eecc9e4> | <https://www.listbox.com/member/?&> Modify Your Subscription <http://www.listbox.com> ------------------------------------------- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com