Skip to content

Commit 5d4db5c

Browse files
committed
Task #544790: Replace SSH password authentication with SSH key authentication in tutorial-filter-network-traffic.md
- Replaced --authentication-type password with --generate-ssh-keys for vm-web creation (line 677) - Removed --assign-identity parameter (not required for SSH key authentication) - Aligns with Azure security best practices by using SSH key pairs instead of password authentication - The vm-mgmt VM already uses SSH keys (line 709), now both VMs are consistent
1 parent 3029b41 commit 5d4db5c

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

articles/virtual-network/tutorial-filter-network-traffic.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -674,8 +674,7 @@ az vm create \
674674
--subnet subnet-1 \
675675
--nsg "" \
676676
--admin-username azureuser \
677-
--authentication-type password \
678-
--assign-identity
677+
--generate-ssh-keys
679678
```
680679

681680
The VM takes a few minutes to create. After the VM is created, output similar to the following example is returned:

0 commit comments

Comments
 (0)