Virtual machines in Azure should use SSH authentication keys for security

이 페이지는 아직 한국어로 제공되지 않으며 번역 작업 중입니다. 번역에 관한 질문이나 의견이 있으시면 언제든지 저희에게 연락해 주십시오.

Description

Use SSH authentication keys to secure Linux virtual machines.

Rationale

Using SSH to secure authentications is a security best practice, as traditional username and password authentication is vulnerable to malicious tactics such as brute-force attacks. SSH uses a combination of public and private key pairs to secure the authentication process. Access to the private key is automated and tightly controlled, without both keys SSH access will not be granted. This also eliminates the need for users to memorize complex passwords for virtual machine access.

Remediation

From the command line

  1. Follow the steps listed at Detailed steps: Create and manage SSH keys for authentication to a Linux VM in Azure to create and deploy VMs using SSH.
  2. If needing to transition from Username and Password authentication, to SSH, there is no way to transition directly. You must deprovision the current VM and create an image of it with SSH as the authentication method. Follow the steps on How to create a managed image of a virtual machine or VHD.
PREVIEWING: mervebolat/span-id-preprocessing