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

Nishant Kumar 1 Reputation point

Hi Community members,

I am new to azure.


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.
7,346 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. SnehaAgrawal-MSFT 20,396 Reputation points

    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