Azure ARC - SSH (RDP)

2 votes

avatar

Hi,

We currently have some Windows servers managed via Microsoft Azure ARC. There is now a possibility to connect to these servers over RDP via SSH. We have added this to RDM with a custom Powershell script but it's quite cumbersome to connect. It requires authentication to Microsoft Azure (1), RDP credentials in the Powershell console (2) and lastly RDP credentials in the RDP window (3). I was wondering if it would be possible to integrate this directly into RDM or make this easier ? I've had contact with the support team and they are also looking into this but suggested me to post it here as well.

This is the current Powershell embedded script we use:
$resourceGroup = "resourcegroup-name"
$subscriptionId = "xxxx"
az config set core.login_experience_v2=off

# Authenticate (you'll be prompted for the password)
az login
# Connect to the Azure Arc-enabled server via SSH, host and username are fetched from the RDM entry
az ssh arc --resource-group $resourceGroup --name $HOST$ --local-user $username$ --rdp

Microsoft info:
https://learn.microsoft.com/en-us/cli/azure/ssh?view=azure-cli-latest

All Comments (3)

avatar

Hello,

Thank you for the request and the details. We'll keep this in mind for future improvements and keep an eye out for additional feedback to help us prioritize. I can't give an estimate for when we will be able to work on this since we have a lot of other feature requests to look into, but I hope your current workaround is good enough for now.

Regards,

Hubert Mireault

avatar

Hi,

wee need this feature, too. It’s important for us to manage Arc enabled Servers without a vpn.

regards,

bernd

avatar

Hello,

Thank you for the feedback, we're noting your interest in this feature and it will help us prioritize it. For now I would recommend using the workaround provided by Vincent in the first post of this thread.

Regards,

Hubert Mireault