Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

cp EC2keypair  .ssh/id_rsa

chmod 0600 .ssh/id_rsa

#ssh-copy-id 192.168.1.100 ( it's not needed because we already use the same key pair from AWS )

ssh 192.168.1.100


Other option would be to create an password for the centos user ( AWS centos EC2 instance ) + allow password in SSHD config + restart the process

...