Terminate an EC2 Serial Console session - Amazon Elastic Compute Cloud
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

Terminate an EC2 Serial Console session

The way to terminate a serial console session depends on the client.

Browser-based client

To terminate the serial console session, close the serial console in-browser terminal window.

Standard OpenSSH client

To terminate the serial console session, use the following command to close the SSH connection. This command must be run immediately following a new line.

$ ~.
Note

The command that you use for closing an SSH connection might be different depending on the SSH client that you're using.