![]() If you are using public IP addresses in production, make sure you are using a service like Azure Just in Time VM access. If you have a VPN or Express Route set up, you can also use private IP addresses and DNS names. In this example, you can use the public IP address or the Azure FQDN to connect to the Azure VM. You can do that going through this blog post, or by running this command.Īz vm create -resource-group demosshvm -name tomsVM -image UbuntuLTS -admin-username thomas -generate-ssh-keys -public-ip-address-dns-name tomsazurelinuxvm ![]() If you are running on a Windows 10 machine, you will also need to install the OpenSSH client on your machine. This also includes remote extensions for containers or the Windows Subsystem for Linux (WSL). In addition to Visual Studio code, we need to install the Remote – SSH extension, which comes with Remote Development Extension Pack. You can download and install VS Code from the official website. InstallationĪs mentioned to edit the files on the Azure Linux virtual machine remotely, we are using the light-weight, cross-platform, opensource editor Visual Studio Code. With the Remote – SSH extensions, you can easily browse and edit files on an Azure VM or any other system where you can connect using SSH. Visual Studio Code has a new Remote Development Extention which allows you to open any folder in a container, on a remote computer, or in the Windows Subsystem for Linux (WSL) and take advantage of the VS Code feature set. ![]() In this blog post, I am going to show you how you can remotely edit files on Azure Linux virtual machines using Visual Studio Code. There are a lot of different ways to remote manage your Azure virtual machines using various tools and technics.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |