Connecting to VM using SSH method

sns 9,246 Reputation points
2023-12-06T14:13:37.23+00:00

I do have limitatios using RDP and Baston to connect to VM

I wish to connect using SSH only, but I am not finding option to connect using SSH

Please suggest

User's image

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,013 questions
{count} votes

1 answer

Sort by: Most helpful
  1. TP 124.7K Reputation points Volunteer Moderator
    2023-12-06T16:09:03.77+00:00

    Hi,

    Is this VM running Windows? If yes you need to install OpenSSH Server in the VM, start the OpenSSH SSH Server service, and set service startup to Automatic. Once you have completed that you can use SSH client on your PC to connect, assuming there aren't any NSGs blocking you and you have a network path to the VM.

    Get started with OpenSSH for Windows

    https://learn.microsoft.com/en-us/windows-server/administration/openssh/openssh_install_firstuse?tabs=gui

    qna sns connect ssh

    Please click Accept Answer and upvote if the above was helpful.

    Thanks.

    -TP


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.