Skip to content

Commit 36b8657

Browse files
Update oracle-database-quick-create.md
Adding an NSG SSH rule that was missing. Without this rule people can't connect via ssh to the vm
1 parent dacb6eb commit 36b8657

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

articles/virtual-machines/workloads/oracle/oracle-database-quick-create.md

+10-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ In this task, you must configure some external endpoints for the database listen
9797
```azurecli-interactive
9898
az network nsg create --resource-group rg-oracle --name vmoracle19cNSG
9999
```
100-
101100
1. Create an NSG rule with the [az network nsg rule create](/cli/azure/network/nsg/rule#az-network-nsg-rule-create) command. This command creates the **allow-oracle** NSG rule to open the endpoint for remote access to the Oracle database:
102101

103102
```azurecli-interactive
@@ -121,7 +120,17 @@ In this task, you must configure some external endpoints for the database listen
121120
--priority 1002 \
122121
--destination-port-range 5502
123122
```
123+
1. Create an NSG rule with the [az network nsg rule create](/cli/azure/network/nsg/rule#az-network-nsg-rule-create) command. This command creates the **allow-ssh** NSG rule to open the endpoint for remote access via ssh:
124124

125+
```azurecli-interactive
126+
az network nsg rule create \
127+
--resource-group rg-oracle \
128+
--nsg-name vmoracle19cNSG \
129+
--name allow-ssh \
130+
--protocol tcp \
131+
--priority 1001 \
132+
--destination-port-range 22
133+
```
125134
1. As needed, use the [az network public-ip show](/cli/azure/network/public-ip#az-network-public-ip-show) command to get the public IP address of your VM:
126135

127136
```azurecli-interactive

0 commit comments

Comments
 (0)