From a Chef Workstation

$ knife bootstrap  -x root -P password a.localhost.net -N a

 

To improve logging on the client

$ cd /etc/chef

vi client.rb

add the line “log_level :info”

$ chef-client # to run convergence

Reset sshd_config to remove root login