gpt4 book ai didi

linux - Amazon EC2 Linux 实例(SSH、PuTTY 等)的默认用户名是什么?

转载 作者:行者123 更新时间:2023-12-04 18:59:20 28 4
gpt4 key购买 nike

我正在 EC2/AWS 服务器(Ubuntu、Debian、Fedora、Amazon Linux 等)上测试 Linux 实例。
什么是默认用户名,所以我可以通过 SSH 连接?

最佳答案

For Amazon Linux 2 or the Amazon Linux AMI, the user name is ec2-user.

For a CentOS AMI, the user name is centos.

For a Debian AMI, the user name is admin.

For a Fedora AMI, the user name is ec2-user or fedora.

For a RHEL AMI, the user name is ec2-user or root.

For a SUSE AMI, the user name is ec2-user or root.

For an Ubuntu AMI, the user name is ubuntu.


来源: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/connection-prereqs.html

关于linux - Amazon EC2 Linux 实例(SSH、PuTTY 等)的默认用户名是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/67322043/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com