Add private key file to Pageant from Azure local storage resource
问题 I'm implementing a Cloud Service (worker role) application in Azure which can add private key files to Pageant from an Azure Local Storage. The p variable is a Process which starts cmd.exe as well. var filename = "pageant.exe"; var workerRoleStorageName = "PrivateKeys"; var privatekeyfilename = "ThePrivateKey.ppk"; var localResource = RoleEnvironment.GetLocalResource(workerRoleStorageName); var path = Path.Combine(localResource.RootPath, privatekeyfilename); p.StandardInput.WriteLine(filename