Skip to content

Commit 493535b

Browse files
authored
Update ssh-arc-troubleshoot.md
1 parent e7f726e commit 493535b

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

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

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -48,19 +48,19 @@ 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 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.
52-
53-
```powershell
54-
# Set 22 port:
55-
azcmagent config list
56-
azcmagent config get incomingconnections.port
57-
azcmagent config set incomingconnections.port 22
58-
azcmagent config
59-
60-
# Add multiple ports:
61-
azcmagent config set incomingconnections.port 22,3516
62-
```
63-
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. The ssh port (22) is not set by default, so you must add it. This setting is used by other services like admin center so just add port 22 without deleting previous added ports.
52+
53+
```powershell
54+
# Set 22 port:
55+
azcmagent config list
56+
azcmagent config get incomingconnections.port
57+
azcmagent config set incomingconnections.port 22
58+
azcmagent config
59+
60+
# Add multiple ports:
61+
azcmagent config set incomingconnections.port 22,3516
62+
```
63+
6464
## Azure permissions issues
6565

6666
### Incorrect role assignments

0 commit comments

Comments
 (0)