Adding a User to Your VM: Revision history

Jump to: navigation, search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

12 September 2025

  • curprev 09:0109:01, 12 September 2025 Updc admin talk contribs 5,310 bytes −2 See Also
  • curprev 08:5808:58, 12 September 2025 Updc admin talk contribs 5,312 bytes +5,312 Created page with "{{DISPLAYTITLE:VM User Management and SSH Key Setup}} == Quick Reference == Guide for adding users to VMs and configuring SSH key authentication. == Add User to VM == <source lang="bash"> # Create user with home directory sudo useradd -m -s /bin/bash username # Set password sudo passwd username # Add to sudo group (if needed) sudo usermod -aG sudo username </source> == Setup SSH Key == <source lang="bash"> # Create SSH directory sudo mkdir -p /home/username/.ssh..."