> Another option is, when writing the JSON descriptor, to have it inject an SSH > key into the machine when provisioning. I've never done this myself, but I > know there's a few examples floating around on the web somewhere.
That was the trick, although it took some digging to find the specific instructions. https://wiki.smartos.org/display/DOC/How+to+create+a+KVM+VM+%28+Hypervisor+virtualized+machine+%29+in+SmartOS has the details at the bottom of the frame. In a nutshell, add the following stanza to the VM definition: "customer_metadata": { "root_authorized_keys": "ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA8aQRt2JAgq6jpQOT5nukO8gI0Vst+EmBtwBz6gnRjQ4Jw8pERLlMAsa7jxmr5yzRA7Ji8M/kxGLbMHJnINdw/TBP1mCBJ49TjDpobzztGO9icro3337oyvXo5unyPTXIv5pal4hfvl6oZrMW9ghjG3MbIFphAUztzqx8BdwCG31BHUWNBdefRgP7TykD+KyhKrBEa427kAi8VpHU0+M9VBd212mhh8Dcqurq1kC/jLtf6VZDO8tu+XalWAIJcMxN3F3002nFmMLj5qi9EwgRzicndJ3U4PtZrD43GocxlT9M5XKcIXO/rYG4zfrnzXbLKEfabctxPMezGK7iwaOY7w== wooyay@houpla" } Create the VM and you can ssh in as root using that key. I gather this only works with the Joyent-supplied OpenBSD VM images. Note I also tried to VNC to the console and boot to single user mode, but the bootstrap redirects the console to com0 long before there's any chance of overriding that at the boot prompt. --lyndon