Skip to content

Commit dc4516c

Browse files
authored
Variable missing an 's' and wrong port for WAC
The variable incomingconnections.port is incorrect. It's "incomingconnections.ports" # Add multiple ports: azcmagent config set incomingconnections.port 22,3516 In the line above the WAC portal Port is 6516 not 3516 by default. Copying this line causes two issues, 1. The variable is incorrect. 2. The port connection will break the WAC in Portal experience if copied as is. Line should read: # Add multiple ports: azcmagent config set incomingconnections.ports 22,6516
1 parent d3e2811 commit dc4516c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/azure-arc/servers/ssh-arc-troubleshoot.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,12 @@ Resolution:
5353
```powershell
5454
# Set 22 port:
5555
azcmagent config list
56-
azcmagent config get incomingconnections.port
57-
azcmagent config set incomingconnections.port 22
56+
azcmagent config get incomingconnections.ports
57+
azcmagent config set incomingconnections.ports 22
5858
azcmagent config
5959
6060
# Add multiple ports:
61-
azcmagent config set incomingconnections.port 22,3516
61+
azcmagent config set incomingconnections.ports 22,6516
6262
```
6363

6464
## Azure permissions issues

0 commit comments

Comments
 (0)