MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.25k stars 21.41k forks source link

Issue using Linux Subsystem #24033

Closed KingdomOfEnds closed 5 years ago

KingdomOfEnds commented 5 years ago

Hi! Great article - was able to make it through most but ran into an issue today.

I went through and set up a Linux Subsystem to have an SSH server to connect to using the following commands:

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

issue

Can you please let me know what I did wrong? The Device Simulator crashed. Thanks!

PS - I've also removed my IoT Hub and devices used in the pictures above.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

YutongTie-MSFT commented 5 years ago

@KingdomOfEnds Thanks for the feedback! We are currently investigating and will update you shortly.

asergaz commented 5 years ago

@rezasherafat is this known issue? Would you need me to go through the tutorial and check if I can repro it? Thanks.

asergaz commented 5 years ago

@KingdomOfEnds please reach out to @rezasherafat directly by email and post back the solution for this issue. Thanks!

rezasherafat commented 5 years ago

@KingdomOfEnds, I think the easiest way to setup SSH server is to deploy an Ubuntu VM in Azure.

If you want to use this Windows extension however, do first check that you can ssh to the machine directly (without device streams) just as a sanity check.

KingdomOfEnds commented 5 years ago

Thanks @rezasherafat - I've tested this via the great Ubuntu VM service in Azure. I was able to connect through SSH but still encountered the critical exception in .NET. I appreciate your feedback!

rezasherafat commented 5 years ago

@KingdomOfEnds, can you copy paste the full exception here? your window is partially blocking it in the screenshot.

KingdomOfEnds commented 5 years ago

@rezasherafat - Sure, my apologies about that. I've also removed the instances so any configuration details displayed are not in use:

csharp ssh and rdp preview - ubuntu vm 18 04 ssh

rezasherafat commented 5 years ago

@KingdomOfEnds , please make sure your hub is in Central US region!

KingdomOfEnds commented 5 years ago

Hi @rezasherafat - Thank you! I appreciate the suggestion. My team has decided to shift current priorities for MS Learn. We look forward to General Availability and some of the new features you plan on implementing. Cheers!