For a virtual machine running a Linux operating system, we can log in using an SSH client.
We need to install the SSH client on the computer that we are logging on to, we can have the following options:
- In the Windows operating system, we can use Putty to download the page.
- In the Linux operating system, we can use OpenSSH, OpenSSH.
Tip : For more requirements and troubleshooting tips, see Connect to a Azure virtual machine with RDP or SSH.
Here are some steps to connect a virtual machine using putty:
1. Locate the
host name and
port information for the virtual machine in the management interface of the virtual machine. We can find this information on the dashboard of the virtual machine, click on the virtual machine in the Quick Bar interface of the dashboard and view the details of SSH.
2. Open PuTTY.
3. Fill in the hostname and port information, and then click
Open .
4. Log in to the virtual machine using the account where you started to create the virtual machine, and for more information on how to create a virtual machine, you can view create Running Linux.
Tip: If you forget to create the account and password, you can request to reset the password, specifically can see how to reset a Password or SSH for Linux Virtual machines.
The original is from how to Log on to a Virtual machine Running Linux
apply for a Microsoft Azure experience account and learn to record it.
How to log in to a virtual machine running Linux