I can't connect to the cloud via ssh from the auzre portal.

장 광순 0 Reputation points
2024-12-30T06:54:57.6566667+00:00

User's image

ssh로 접속시 접속권한 때문에 접속이 안됩니다.

Azure VMware Solution
Azure VMware Solution
An Azure service that runs native VMware workloads on Azure.
368 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Srinud 3,390 Reputation points Microsoft Vendor
    2024-12-30T11:56:05.0966667+00:00

    Hi Kwangsun Jang,

    Thank you for reaching out to us on the Microsoft Q&A forum.

    This error can occur for several reasons, such as incorrect SSH credentials, key pair issues, or VM configuration problems. The "Permission denied" error usually happens when trying to connect to the VM via SSH and is often due to incorrect credentials, improper SSH key configuration, or misconfigured VM settings.

    To resolve this issue, ensure that the private SSH key matches the public key on the VM, or verify that the username and password are correct if using password-based authentication. Additionally, check the Network Security Group NSG rules for your VM permit port 22, which is required for SSH, to be open.

    Please find the documents below for more information:

    Connect using SSH to an Azure VM running Windows - Azure Virtual Machines | Microsoft Learn
    https://learn.microsoft.com/en-us/azure/virtual-machines/linux/ssh-from-windows https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/linux/troubleshoot-ssh-connection

    If the information is helpful, please consider by clicking the "Accept answer and Upvote" on the post.

    If you have any further queries, please let us know in the comment. We are glad to help you.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.