Lightsail是否有公共DNS名称

0

【以下的问题经过翻译处理】 Lightsail实例是否有“public_dns_name”?

profile picture
EXPERT
asked 6 months ago13 views
1 Answer
0

【以下的回答经过翻译处理】 SSH连接需要一个可解析为正确IP地址的主机名或IP地址。

您可以使用slogin ec2-user@<hostname>或slogin ec2-user@<ip地址>登录。如果您的实例的公共IP是12.34.56.78,则应该能够使用slogin ec2-user@ec2-12-34-56-78.compute-1.amazonaws.com登录。

如果您为您的静态IP设置了DNS条目,您只需使用slogin ec2-user@dnsentry.example.com即可。

profile picture
EXPERT
answered 6 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions