Open main menu

CDOT Wiki β

Changes

OPS345 Lab 1

232 bytes added, 02:43, 11 December 2021
Change the default username
* Allow your new user to log in using the SSH key you already have. You could create a new key pair instead, but you don't have to. Remember that your username is not asmith15:
[[File:AWSCopySSHKey.png|border|leftcenter]]
* Confirm ssh in into your VM as yoursenecaid and successfully sudo su -* Delete ''After you're sure that you can'': delete ec2-user including the home directory. Use the userdel command. == Set the hostname == For reasons that are hard to explain quickly the hostname on your AWS VM is not static by default, but we'll make it static so it's more familiar to you. * Update the hostname to "first.yoursenecaid.ops" and make sure it sticks:
** https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/set-hostname.html
** Change the instance "Name" in the EC2 management console to "first".