Installing Oracle® Solaris 11.2 Systems

Exit Print View

Updated: July 2014
 
 

Adding User SSH Keys

This example shows how to use the ssh_public_keys to add ssh keys for a user during an automated install session. Each key will be added to the $HOME/.ssh/authorized_keys for the named user.

 
    <property_group type="application" name="user_account">
 		   <...>
            <property type="astring" name="ssh_public_keys">
              <astring_list>
                <value_node value='[<options>] <key-type>
 			       <base64-encoding-key> [<comment>]' />
                <value_node value='[<options>] <key-type>
 			       <base64-encoding-key> [<comment>]' />
              </astring_list>
            </property>
          </property_group>