Here’s the command to copy a secret key to a remote server.
ssh-copy-id user@servername |
This assumes you already generated a key.
cloud engineer
Here’s the command to copy a secret key to a remote server.
ssh-copy-id user@servername |
ssh-copy-id user@servername
This assumes you already generated a key.
Here’s how to add an AWS user using the CLI.
aws iam create-user --user-name john.doe \ --tags Key='Name',Value='John Doe' Key='Role',Value='Admin' |
aws iam create-user --user-name john.doe \ --tags Key='Name',Value='John Doe' Key='Role',Value='Admin'
Create an access key for the user.
aws iam create-access-key --user-name john.doe |
aws iam create-access-key --user-name john.doe