Skip to content
Rob Nagler edited this page Nov 17, 2019 · 35 revisions

Amazon Web Services (AWS)

Setup Instance

From console:

  • CentOS 7 Official AMI with HVM
  • Use public-ssh security group
  • Use existing key
  • Encrypt all disks
  • 20g root partion

Once booted, get public and private IPs:

  • Add IPs to named
  • ssh centos@<public-ip>
  • sudo su -
  • cat > /root/.ssh/authorized_keys -- add key
  • Do not logout yet, verify first
  • ssh root@<public-ip>
  • userdel -r centos
  • hostname <name>.bivio.biz
  • Logout of original session

Verify ssh key fingerprint

You have to convert the ssh private key to PEM format then DER format, and finally compute md5:

ssh-keygen -e -m PEM -f ~/.ssh/id_rsa | openssl rsa -RSAPublicKey_in -outform DER | openssl md5 -c

Clone this wiki locally