Not able to establish SSH connection to linux remote machine using service connection in azure

Nishant Kumar 1 Reputation point
2020-07-03T11:50:46.537+00:00

Hi Community members,

I am new to azure.

0

I am generating the private key using puttygen and passing it to service connection which in turn tries to connect to linux remote machine.

When i run the pipe line i get below error: 2020-07-03T09:24:37.9310331Z ##[error]Failed to connect to remote machine. Verify the SSH service connection details. Error: Error: Cannot parse privateKey: PPK private key integrity check failed.

While I am able to connect to the remote machine using same credential using putty

Can somebody help?

Thanks in advance.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,261 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. SnehaAgrawal-MSFT 22,181 Reputation points
    2020-07-05T13:40:57.18+00:00

    Thanks for asking question! If I have understood you right, you're hosting Web App in App Service on a Linux machine and you want SSH into your app's container. If so, you may want to investigate below article explaining on details steps to be followed for connecting.

    Things You Should Know: Web Apps and SSH


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.