Guide – How To Start –.NET 6 on Ubuntu Server 22.04 LTS 

Connecting to .NET 6 on Ubuntu Server 22.04 LTS 

  1. To connect to the server, you need to know the IP address of the virtual machine (VM), which can be found in your Azure personal account. Select the virtual machine from the list and click on the “Overview” item to find your IP address in the “Public IP Address” line.
  1. To manage with a .NET 6 server, you must connect to a VM using OpenSSH or PuTTY.
    1. With the PuTTY application 

To connect via SSH using PuTTY, you need to download and install the PuTTY application, which can be found at the following link: Download

Run Putty, enter the VM address in the “Host” field (1), and click “Open” (2) to connect.

In the opened console, enter the username (1) and password (2) that were specified during VM creation. Note that the password will not be displayed in the console while you are typing it. 

  1. With OpenSSH

In the Windows 10 operating system (version 1809 and later), you can use the built-in OpenSSH client to connect to Linux servers via SSH. If you have Windows 10 and the OpenSSH client installed, you can connect via SSH by launching a normal Windows command prompt and entering the command “ssh user@*vm_ip*” (1), where “user” is the username specified while creating the virtual machine, and “*vm_ip*” is the VM IP address. 

Then type “Yes(2) and enter the password (3) specified during the VM creation.

  1. To view the version of the SDK package, enter the command:

> dotnet –list-sdks

  1. To view the runtime versions, enter the command:

> dotnet –list-runtimes

  1. You can view all information, including SDK and runtime versions, by using the following command:

> dotnet –info

  1. Now you can work with completely clean .NET 6 on Ubuntu Server 22.04 LTS

For further interaction, please refer to the main documentation:

 Install .NET on CentOS – .NET | Microsoft Docs

If you have any questions, welcome to our community:

 dotnet-ad-linux – Microsoft Q&A

Website Built with WordPress.com.

Up ↑

%d bloggers like this: