SSH to AWS Instance without key pairs

后端 未结 6 1557
轻奢々
轻奢々 2020-12-04 06:45

1: Is there a way to log in to an AWS instance without using key pairs? I want to set up a couple of sites/users on a single instance. However, I don\'t want to give out key

6条回答
  •  星月不相逢
    2020-12-04 07:26

    1) You should be able to change the ssh configuration (on Ubuntu this is typically in /etc/ssh or /etc/sshd) and re-enable password logins.

    2) There's nothing really AWS specific about this - Apache can handle VHOSTS (virtual hosts) out-of-the-box - allowing you to specify that a certain domain is served from a certain directory. I'd Google that for more info on the specifics.

提交回复
热议问题