1 Risposta
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
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.
Contenuto pertinente
- AWS UFFICIALEAggiornata 2 anni fa
- AWS UFFICIALEAggiornata 3 anni fa
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.