We recommend using key-based authentication (if you use a username/password, you'll be prompted to enter your credentials more than once by the extension). There are several authentication methods into a VM, including an SSH public/private key pair or a username and password. Choose Ubuntu Server 18.04 LTS for this example, but you can choose recent versions of other Linux distros and look at VS Code's supported SSH servers. Now you can specify details of your VM, such as the name, the size, and the base image. Note: In this tutorial, we are using Azure, but your Linux VM can be hosted anywhere, as long as the Linux distribution meets these prerequisites. From there, you can select your Azure subscription and create a new resource group, if you don't already have one. In the Azure portal, search for "Virtual Machines", and choose Add. If you don't have an existing Linux virtual machine, you can create a new VM through the Azure portal. The Remote Status bar item can quickly show you in which context VS Code is running (local or remote) and clicking on the item will bring up the Remote - SSH commands. With the Remote - SSH extension installed, you will see a new Status bar item at the far left. The Remote - SSH extension is used to connect to SSH hosts.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |