Introduction
I shared an article detailing the Step-by-Step Guide for Implementing On-Premises Servers into Microsoft Azure Arc. Now, I will demonstrate how to access connected servers via SSH. Managing servers across multiple platforms and locations can be challenging in today's hybrid cloud environments. Azure Arc-enabled servers bring the robust management capabilities of Azure to your infrastructure, allowing you to manage Windows and Linux servers hosted outside of Azure, whether on-premises or with other cloud providers. One of the key features is the ability to implement SSH extensions, simplifying the secure management of Windows or Linux servers. This guide offers a step-by-step approach to Enabling SSH extensions on Azure Arc-enabled servers, enhancing your security and management efficiency.
Step 1. Access your Microsoft Azure Portal at https://portal.azure.com.
Step 2. Ensure your servers are correctly connected via Azure Arc. Navigate to All services, select Hybrid + multi-cloud, and click on Azure Arc.
Step 3. Alternatively, OpenSSH can be installed directly as an extension. To add the OpenSSH for Windows - Azure Arc extension, simply go to your Azure Arc server and click on "Extensions" in the left menu.
Step 4. In the Extensions section, click on the option Add.
Step 5. On the subsequent screen, you will encounter various available extensions. Opt for OpenSSH for Windows - Azure Arc (assuming you're operating a Windows VM; otherwise, select the Linux option) and proceed by clicking Next.
Step 6. Now, select Review + Create and click Create to finalize the process.
Simply clicking on the Submitting deployment popup will take you directly to the deployment page, where you can easily track the progress of the deployment.
The deployment of the OpenSSH for Windows - Azure Arc extension is now complete.
Step 7. After completing the deployment, return to your Azure Arc server and navigate to the Extensions section. As you observe, the OpenSSH for Windows Azure Arc extension has now been successfully installed.
Step 8. To establish a connection to the Azure Arc-enabled server via SSH, we will use the administrator user to access it via Azure Cloud Shell.
Now, when attempting to SSH into the Azure Arc-enabled server from the Azure Cloud Shell, you will be prompted to enter the local user's password. Upon successful authentication, you will access the on-premises server via SSH.
Conclusion
Implementing SSH extensions on Azure Arc-enabled servers significantly enhances the security and manageability of your hybrid cloud infrastructure. By following these steps, you can securely manage your Windows or Linux servers from anywhere, leveraging Azure's powerful management capabilities. This guide has walked you through the setup and configuration process, ensuring a secure and efficient server management workflow.