SSH到AWS实例没有密钥对密钥、实例、SSH、AWS

2023-09-11 08:07:27 作者:凉辰梦瑾空人心。

1:有没有办法登录到AWS实例,而无需使用密钥对?我想建立一个对​​夫妇的网站/用户的单一实例。但是,我不想给出密钥对客户端进行登录。

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 pairs for clients to log in.

2:什么是建立托管网站/用户在不同的域指向分隔目录1 AWS实例的最简单的方法

2: What's the easiest way to set up hosting sites/users in 1 AWS instance with different domains pointing to separate directories?

推荐答案

1),你应该能够更改SSH配置(在Ubuntu,这是典型的的/ etc / ssh的的/ etc / sshd的),并重新启用密码登录。

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)有没有什么具体的AWS这个 - Apache可以处理虚拟主机(虚拟主机)外的开箱即用 - 允许你指定一个特定的域是从某一个目录服务。我倒是谷歌认为有关具体的详细信息。

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.

 
精彩推荐