Update docs

- Add a note about the default usernames for Debian/Ubuntu EC2 instances
- Ref: #887
This commit is contained in:
hwdsl2 2020-12-08 00:25:26 -06:00
parent c1fb45f942
commit d9ab6ae1a5
2 changed files with 3 additions and 3 deletions

View File

@ -40,7 +40,7 @@
部署后如何通过 SSH 连接到服务器?
</summary>
Amazon EC2 不允许用户使用 SSH 密码访问新创建的实例。用户必须创建“密钥对”来作为 SSH 访问的凭据。
在部署后Ubuntu 实例的默认用户名是 **ubuntu**,而 Debian 则是 **admin**Amazon EC2 不允许用户使用 SSH 密码访问新创建的实例。用户必须创建“密钥对”来作为 SSH 访问的凭据。
此模板在部署期间为你生成一个密钥对,并且在成功创建堆栈后,其中的私钥将在 **Outputs** 选项卡下以文本形式提供。

View File

@ -39,8 +39,8 @@ You may choose an AWS region using the selector to the right of your account inf
<summary>
How to connect to the server via SSH after deployment?
</summary>
Amazon EC2 does not allow users to access newly created instances with an SSH password. Instead, users are required to create "key pairs", which are used as credentials for SSH access.
After deployment, the default username for an Ubuntu instance is **ubuntu**, and for a Debian instance it is **admin**. Amazon EC2 does not allow users to access newly created instances with an SSH password. Instead, users are required to create "key pairs", which are used as credentials for SSH access.
This template generates a key pair for you during deployment, and the private key will be available as text under the **Outputs** tab after the stack is successfully created.