What is the No option for keyboard keys when starting an instance in EC2?

I want to know when you should use it? I followed this tutorial and it says that I should not use the None parameter.

Since I have this parameter, I need to use it for this, right? I want to know in which scenario would I use it?

+5
source share
2 answers

When you provide a key pair name when starting an AMI instance, Amazon EC2 provides the public key ssh to the instance so that it can do things like adding the key to $ HOME / .ssh / authorized_keys for the default user. The default user is AMI dependent and can be "ec2-user" or "ubuntu" or even "root".

However, AMI does not require them to use the ssh key, this is just a convenient convention and one of the few ways to give the person working with AMI secure access to the instance.

ssh keypair (.. "None" ), . AMI Amazon Linux Ubuntu CloudInit script, ssh , , ssh.

SSH- , , .

, "" - , , , .

+5

none , AMI , , , . Service Bus, , AMI , . , , ( ), .

- , , "", AMI. , .

, ,

+1
source

All Articles