Skip to content

Commit e7f726e

Browse files
authored
Update azcmagent troubleshooting
Add detail to set ssh pour on azcmagent and multiple listener.
1 parent d9b4c1f commit e7f726e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,17 @@ Possible errors:
4848

4949
Resolution:
5050
- Ensure that the SSHD service is running on the Arc-enabled server.
51-
- Ensure that port 22 (or other non-default port) is listed in allowed incoming connections. Run ```azcmagent config list``` on the Arc-enabled server in an elevated session. By default 6515 port is set, you need to change to 22.
51+
- Ensure that port 22 (or other non-default port) is listed in allowed incoming connections. Run ```azcmagent config list``` on the Arc-enabled server in an elevated session. By default the ssh port (22) is not set, you need to add 22 port. /!\ This setting is used by another services like "admin center", only add 22 port without delete the port already added.
5252

5353
```powershell
54+
# Set 22 port:
5455
azcmagent config list
5556
azcmagent config get incomingconnections.port
5657
azcmagent config set incomingconnections.port 22
5758
azcmagent config
59+
60+
# Add multiple ports:
61+
azcmagent config set incomingconnections.port 22,3516
5862
```
5963

6064
## Azure permissions issues

0 commit comments

Comments
 (0)