How to limit people access to my EC2 with their public key

拟墨画扇 提交于 2019-12-06 15:39:14

Follow the steps in this document: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/managing-users.html

There are 3 steps:

  • You have to add a user account (adduser) for each user
  • Make sure the user-home/.ssh dir has 600 permission (chmod)
  • Add the user public key to user-home/.ssh/authorized_keys and make sure it has 700 permission (chmod)
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!