You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This operation can take 2-5 minutes to complete. Before moving on, check that the RP has been registered.
71
93
72
94
### Create default connectivity endpoint
73
95
> [!NOTE]
@@ -86,24 +108,5 @@ Validate endpoint creation:
86
108
az rest --method get --uri https://management.azure.com/subscriptions/<subscription>/resourceGroups/<resourcegroup>/providers/Microsoft.HybridCompute/machines/<arc enabled server name>/providers/Microsoft.HybridConnectivity/endpoints/default?api-version=2021-10-06-preview
87
109
```
88
110
89
-
### Enable functionality on your Arc-enabled server
90
-
In order to use the SSH connect feature, you must enable connections on the hybrid agent.
91
-
92
-
> [!NOTE]
93
-
> The following actions must be completed in an elevated terminal session.
94
-
95
-
View your current incoming connections:
96
-
97
-
```azcmagent config list```
98
-
99
-
If you have existing ports, you will need to include them in the following command.
100
-
101
-
To add access to SSH connections, run the following:
102
-
103
-
```azcmagent config set incomingconnections.ports 22<,other open ports,...>```
104
-
105
-
> [!NOTE]
106
-
> If you are using a non-default port for your SSH connection, replace port 22 with your desired port in the previous command.
107
-
108
111
## Examples
109
-
To view examples of using the ```az ssh arc``` command, view the az CLI documentation page for [az ssh](/cli/azure/ssh).
112
+
To view examples, view the Az CLI documentation page for [az ssh](/cli/azure/ssh) or the Azure PowerShell documentation page for [Az.Ssh](/powershell/module/az.ssh).
0 commit comments