Managing your cloud resources with OpenStack: Difference between revisions

copyedit first para only
(copyediting)
(copyedit first para only)
Line 125: Line 125:


<!--T:29-->
<!--T:29-->
There are a number of ways to approach this, but basically what is needed is to add another public ssh key to the VM (see [[ssh keys]] about working with and creating keys). This could be done by adding to the <code>authorized_keys</code> of the primary user account provided for the VM, usually named after the operating system, or it could be added to a newly created user account. In Ubuntu, when logged in with the primary user's account this can be accomplished with the command {{Command|sudo adduser USERNAME}}
There are a number of ways to allow more than one person to log in to a VM. The recommended methods involve adding public [[Ssh keys|SSH keys]] to the VM. You can add additional public keys to the <code>authorized_keys</code> file of the primary user account (''e.g.'' user <code>ubuntu</code> or <code>centos</code>) or to a newly created user account. In Ubuntu you can create a new user account with the command {{Command|sudo adduser USERNAME}}
Then add the supplied public key to that user's <code>.ssh/authorized_keys</code> file as described in [[ssh keys]] and linked pages.
Then add the supplied public key to that user's <code>.ssh/authorized_keys</code> file as described in [[Ssh keys|SSH keys]] and linked pages.


<!--T:30-->
<!--T:30-->
Bureaucrats, cc_docs_admin, cc_staff
2,879

edits