Skip to main content

Writing a script

The connector for Secure Shell (agtssh) supports all Bravura Security Fabric account management operations. These operations are implemented using a PSLANG script, which provides the details necessary for agtssh to interact with the SSH-enabled target system. You can write custom scripts which must be added in the <Program Files path>\Bravura Security\Bravura Security Fabric\<instance>\script\. Official, shipped scripts are included in the agent directory, and use a scripted platform definition file (.con) to call one of the binary agents. The official scripts are designed to work "out of the box", but can be modified to suit your requirements.

See more information about writing a PSLang script or modifying a sample script.

The agtssh-simple.psl sample file is intended to be used as a starting point to build a customized connector.

The sample script’s default shell is bash. You can change this by modifying the credentialoverride function in the script.

If you cannot find the sample file, try re-running setup to modify your installation. Sample files are automatically installed with complete (typical) installations. You can select them in custom installations.

Caution

Any sample script should be modified to fit your environment and prevent security exploits.