I have a requirement that MAC OS on AWS EC2, Need to use service account instead default ec2-user account while doing ssh like (ssh -i /path/to/your-key.pem ec2-user@your-instance-public-ip
), This is my first requirement and second requirement is need it for hardening the MAC OS -Sonoma which is running on the ec2.
My Project Overview :
I have asked to setup a new mac os sonoma in ec2 which is first time am going to do it. How can i do the hardening of the OS (As i checked and found CIS benchmark document but there are lot of information about the hardening, i want any standard process or procedure to do the hardening ) and also i don’t want to use default ec2-user while ssh via vncviewer (like remote control ).
Did anyone do this in your day to day task/job. If yes, please guide me/refer me and I’m ready to connect with you to gain some knowledge about these requirement.
I have tried to copy the .pem file from ec2-user to newly created user account but unable to do the ssh.
New-to-MacOS-EC2 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.