Before you work with Azure resources, get familiar with the deployment models: Resource Manager, and classic. This article covers using a virtual machine created using the classic deployment model. You can follow similar steps for virtual machine created using the Resource Manager deployment model.
For a virtual machine running a Linux operating system, you use a Secure Shell (SSH) client to log on.
You'll need to install an SSH client on the computer you want to use to log on to the virtual machine. There are many SSH client programs that you can choose from. The following are possible choices:
For more requirements and troubleshooting tips, see Connect to an Azure virtual machine with RDP or SSH.
This procedure shows you how to use the PuTTY program to access the virtual machine.
Find the Host Name and Port information from the Management Portal. You can find the information that you need from the dashboard of the virtual machine. Click the virtual machine name and look for the SSH Details in the Quick Glance section of the dashboard.
Open the PuTTY program.
Enter the Host Name and the Port information that you collected from the dashboard, and then click Open.
Log on to the virtual machine using the account that you specified when the machine was created. For more details on how to create a virtual machine with user name and password, see Create a Virtual Machine Running Linux.
The VMAccess extension can help you reset the SSH key or password if you've forgotten it. If you've forgotten the user name, you can use the extension to create a new one with sudo authority. For instructions, see the How to Reset a Password or SSH for Linux Virtual Machines.
You can now work with the virtual machine just as you would with any other server.