Uly.me

cloud engineer

  • Home
  • About
  • Archives
Home/Archives for secret

June 16, 2020

Copy SSH Key to Server

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.

December 4, 2019

AWS CLI Add User

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

  • Cloud
  • Linux
  • Git

Copyright © 2012–2021