Skip to content

Commit cdf93dd

Browse files
committed
Task #544791: Replace SSH password authentication with SSH key authentication in tutorial-create-route-table.md
- Replaced --authentication-type password with --generate-ssh-keys for vm-nva (line 360) - Replaced --authentication-type password with --generate-ssh-keys for vm-public (line 528) - Replaced --authentication-type password with --generate-ssh-keys for vm-private (line 543) - Aligns with Azure security best practices by using SSH key pairs instead of password authentication - All three VMs in this tutorial now consistently use SSH key authentication
1 parent 3029b41 commit cdf93dd

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

articles/virtual-network/tutorial-create-route-table.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ az vm create \
357357
--subnet subnet-dmz \
358358
--vnet-name vnet-1 \
359359
--admin-username azureuser \
360-
--authentication-type password
360+
--generate-ssh-keys
361361
```
362362

363363
The virtual machine takes a few minutes to create. Don't continue to the next step until Azure finishes creating the virtual machine and returns output for the virtual machine.
@@ -525,7 +525,7 @@ az vm create \
525525
--subnet subnet-1 \
526526
--public-ip-address "" \
527527
--admin-username azureuser \
528-
--authentication-type password \
528+
--generate-ssh-keys \
529529
--no-wait
530530
```
531531

@@ -540,7 +540,7 @@ az vm create \
540540
--subnet subnet-private \
541541
--public-ip-address "" \
542542
--admin-username azureuser \
543-
--authentication-type password
543+
--generate-ssh-keys
544544
```
545545
---
546546

0 commit comments

Comments
 (0)