AWS Security ChangesHomeSearch

AWS AWSEC2 documentation change

Service: AWSEC2 · 2025-08-22 · Documentation low

File: AWSEC2/latest/UserGuide/ec2-instance-connect-methods.md

Summary

Updated AWS CLI documentation URLs and clarified SSH connection command syntax

Security assessment

Changes involve URL corrections and command syntax improvements. No security vulnerabilities or new security features are addressed.

Diff

diff --git a/AWSEC2/latest/UserGuide/ec2-instance-connect-methods.md b/AWSEC2/latest/UserGuide/ec2-instance-connect-methods.md
index 1dabc025f..e8ddc6374 100644
--- a//AWSEC2/latest/UserGuide/ec2-instance-connect-methods.md
+++ b//AWSEC2/latest/UserGuide/ec2-instance-connect-methods.md
@@ -65 +65 @@ To connect using the Amazon EC2 console, the instance must have either a public
-You can use the [ec2-instance-connect](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2-instance-connect/index.html) AWS CLI to connect to your instance with an SSH client. EC2 Instance Connect attempts to establish a connection using an available IP address in a predefined order, based on the specified connection type. If an IP address isn't available, it automatically tries the next one in the order.
+You can use the [ec2-instance-connect](https://docs.aws.amazon.com/cli/latest/reference/ec2-instance-connect/index.html) AWS CLI to connect to your instance with an SSH client. EC2 Instance Connect attempts to establish a connection using an available IP address in a predefined order, based on the specified connection type. If an IP address isn't available, it automatically tries the next one in the order.
@@ -106 +106 @@ In the future, we might change the behavior of the `auto` connection type. To en
-Connecting to a _private_ IPv6 address is not supported when using the [ec2-instance-connect](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2-instance-connect/index.html) AWS CLI.
+Connecting to a _private_ IPv6 address is not supported when using the [ec2-instance-connect](https://docs.aws.amazon.com/cli/latest/reference/ec2-instance-connect/index.html) AWS CLI.
@@ -114 +114 @@ You must use AWS CLI version 2. For more information, see [Install or update to
-If you only know the instance ID, and want to let EC2 Instance Connect determine the connection type to use when connecting to your instance, use the [ec2-instance-connect](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2-instance-connect/index.html) CLI and specify the `ssh` command and the instance ID.
+If you only know the instance ID, and want to let EC2 Instance Connect determine the connection type to use when connecting to your instance, use the [ec2-instance-connect ssh](https://docs.aws.amazon.com/cli/latest/reference/ec2-instance-connect/ssh.html) CLI command with the instance ID.
@@ -166 +166 @@ You can generate new SSH private and public keys, `my_key` and `my_key.pub`, usi
-Use the [send-ssh-public-key](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2-instance-connect/send-ssh-public-key.html) command to push your SSH public key to the instance. If you launched your instance using AL2023 or Amazon Linux 2, the default username for the AMI is `ec2-user`. If you launched your instance using Ubuntu, the default username for the AMI is `ubuntu`.
+Use the [send-ssh-public-key](https://docs.aws.amazon.com/cli/latest/reference/ec2-instance-connect/send-ssh-public-key.html) command to push your SSH public key to the instance. If you launched your instance using AL2023 or Amazon Linux 2, the default username for the AMI is `ec2-user`. If you launched your instance using Ubuntu, the default username for the AMI is `ubuntu`.