1 Answer
- Newest
- Most votes
- Most comments
1
You can do that. But it's additional work that you have to do. However, check out Systems Manager Session Manager as it does a lot of the heavy lifting for you.
Relevant content
- Accepted Answerasked 2 years ago
- Accepted Answerasked a year ago
- asked 22 days ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a month ago
- AWS OFFICIALUpdated 3 years ago
Okay, by default
session manager
not using the SSH, so i did this https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-getting-started-enable-ssh-connections.html , then i was able to get the SSH connection, but as i understood itsSSH session
oversystem manager session
, so i have more questions 1) How i can automate adding ssh keys into the instances 2) Is there possibility to use pureSSH sessions
?NVM, found this https://stackoverflow.com/questions/24409095/create-an-ec2-instance-with-multiple-key-pairs , apparently i will need to manually ( or in my case in docker-image ) add the pub keys.