I was able to solve the problem by destroying the VM and creating a new one with the ssh key addition stuff in the create json.
> On Mar 4, 2018, at 10:45 AM, Chad Leigh Shire.Net LLC <c...@shire.net> wrote: > > > > I created a kvm zone with ubuntu. I did not add the ssh key to the original > son. I am trying to do an update. > > Using this page: > https://wiki.smartos.org/display/DOC/How+to+create+a+KVM+VM+%28+Hypervisor+virtualized+machine+%29+in+SmartOS > > <https://wiki.smartos.org/display/DOC/How+to+create+a+KVM+VM+%28+Hypervisor+virtualized+machine+%29+in+SmartOS> > > I made a file like this > > { > "customer_metadata": { > "root_authorized_keys”: "ssh-rsa > AAAAB3NzaC1yc2EAAAABIwAAAQEA8aQRt2JAgq6jpQOT5nukO8gI0Vst+EmBtwBz6gnRjQ4Jw8pERLlMAsa7jxmr5yzRA7Ji8M/kxGLbMHJnINdw/TBP1mCBJ49TjDpobzztGO9icro3337oyvXo5unyPTXIv5pal4hfvl6oZrMW9ghjG3MbIFphAUztzqx8BdwCG31BHUWNBdefRgP7TykD+KyhKrBEa427kAi8VpHU0+M9VBd212mhh8Dcqurq1kC/jLtf6VZDO8tu+XalWAIJcMxN3F3002nFmMLj5qi9EwgRzicndJ3U4PtZrD43GocxlT9M5XKcIXO/rYG4zfrnzXbLKEfabctxPMezGK7iwaOY7w== > wooyay@houpla" > } > } > > > Obviously using my own SSH public key. > > When I run a validate on it I get this: > > # vmadm validate update kvm -f my-server.ssh-key.json > { > "bad_values": [], > "bad_properties": [ > "customer_metadata" > ], > "missing_properties": [] > } > # > > > What do I need to do to be able to add my SSH key to this server so I can log > in and do things with it? > > ---- > > Related to this same kvm vm: > > I am on a public network only (rented machine at hosting facility) and don’t > want the VNC active as it is not protected, according to the page I listed > above. Is there a way to totally turn off the VNC access? > > Is there a way to do something like > > % vmadm console <UUID> > > to be able to get a plane terminal text console access to the kvm vm? > > > Thanks > Chad > smartos-discuss | Archives > <https://www.listbox.com/member/archive/184463/=now> | Modify > <https://www.listbox.com/member/?&> Your Subscription > <http://www.listbox.com/> ------------------------------------------- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com