This article has not been completed yet. However, it may already contain helpful Information and therefore it has been published at this stage.
SSH for Arc-enabled servers enables SSH based connections to Arc-enabled servers without requiring a public IP address or additional open ports.
- Agent version of 1.13.21320.014 or higher (see link)
# Check Connected Machine Agent Config (on the arc enabled server) azcmagent show
- Working SSH - Service
# Check SSH - Service (on the arc enabled server) sudo service ssh status
- Compatible regions
eastus2euap, eastus, eastus2, westus2, southeastasia, westeurope, northeurope, westcentralus, southcentralus, uksouth, australiaeast, francecentral, japaneast, eastasia, koreacentral, westus3, westus, centralus, northcentralus.
- RBAC - Role - Virtual Machine Local User Login role (if you want to login with your azure credentials without knowing a local user)
- HybridConnectivity resource provider
# Alternate way via Azure CLI az provider show -n Microsoft.HybridConnectivity az provider register -n Microsoft.HybridConnectivity
# Enable Port 22 for Incoming Connections via Arc (on the arc enabled server) azcmagent config set incomingconnections.ports 22 # Check Config (on the arc enabled server) azcmagent config list
Connecting to the arc enabled Server through the Cloud Shell via SSH
# Check for the SSH Extension az
# Connecting from the Cloud via ARC over SSH az ssh arc --resource-group <ressource group> --name <arc enabled server name> --local-user <local user>