Function: Get The Default SSH Key Pair Path

by Simon Sparks · 24 March 2026

To use this function add it to the class library file named PluginSSHService.ts

GitHub Repository: https://github.com/SimonSparksUK/Orchestrator

Filename: PluginSSHService.ts

Description: Orchestrator Function to get the Default SSH key Pair Path

Public Function: getDefaultSSHKeyPairPath

publicgetDefaultSSHKeyPairPath():string{

letobjFile:File=newFile("/var/lib/vco");

if (objFile.exists===true){
// Automation Orchestrator 7.6
return"/var/lib/vco/app-server/conf/vco_key";
}else{
return"/usr/lib/vco/app-server/conf/vco_key";
}
}

Discover more from Cloud Build Tools

Subscribe to get the latest posts sent to your email.

You may also like