* On 2016-07-23 at 07:19 BST, Humberto Ramirez wrote:

> Thanks Jon, besides your suggestion I also had to change the following
> in /etc/ssh/sshd_config
> 
> 
> PermitRootLogin without-password
> 
> to
> 
> PermitRootLogin yes

Rather than enabling password auth, you may find it easier to supply
an SSH authorized_keys during zone creation.  You can do this by
adding:

  "customer_metadata": {
    "root_authorized_keys": "insert public ssh key here",
    "user-script" : "/usr/sbin/mdata-get root_authorized_keys > 
~root/.ssh/authorized_keys"
  }

to your JSON.

Cheers,

-- 
Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.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

Reply via email to