我启动了一个新的 Amazon Linux 2 实例。我尝试通过管理控制台中Connect->EC2 Instance Connect (browser-based SSH connection)选项下的 EC2 实例连接选项连接到实例。我收到错误:
There was a problem setting up the instance connection
An internal error has occurred within the remote server, and the connection has been terminated.
If this instance has just started up, try again in a minute or two.
Run Code Online (Sandbox Code Playgroud)
SSH 端口对外开放(0.0.0.0/0)。我能够使用通过本地机器终端配置的 SSH 密钥连接到 EC2 实例,但是从浏览器连接的实例不起作用。