GET Export SSH Security Config
Exports all SSH Security config within the Secure Proxy Configuration Manager.
With the export method, you can retrieve the SSH Security config that exist within the Secure Proxy Configuration Manager.
This API method requires authentication. The authentication token that is generated at login must be passed in through the "X-Authentication" header.
| Method | Resource | URI | Description |
|---|---|---|---|
|
GET |
sshSecurityConfig |
/sspcmrest/sspcm/rest/sshSecurityConfig/export |
Exports the XML corresponding to the SSH Security config defined with in the Secure Proxy Configuration Manager. |
| Parameter | Required or Optional | Description | Validation | Valid values |
|---|---|---|---|---|
|
None |
Not Required |
Exports the XML of the SSH Security configr |
None |
None |
| Parameter | Description |
|---|---|
|
XML |
The XML corresponding to all the SSH Security config in export format. |
HTTP SSH Security config request
The following example shows the HTTP request.
GET https://localhost:8443/sspcmrest/sspcm/rest/sshSecurityConfig/export
“X-Authentication”: “61504f4a524b48532b776a3467643733374b526368513d3d”
XML SSH Security config response
<sspCMConfigTag>
<formatVersion>
3</formatVersion>
<sshSecurityConfigsTag>
<sshConfigurationDef>
<cipherString>aes256-cbc,aes192-cbc</cipherString>
<description>
<![CDATA[Default SSH Config]]></description>
<forceToUnlock>false</forceToUnlock>
<formatVer>1</formatVer>
<formatVersion>2</formatVersion>
<keyExchangeString>diffie-hellman-group-exchange-sha256,diffie-hellman-group1-sha1</keyExchangeString>
<lockedBy></lockedBy>
<lockedTimestamp></lockedTimestamp>
<macString>hmac-sha2-256,hmac-sha1-96,hmac-sha1</macString>
<name>defaultSshConfig</name>
<status></status>
<verStamp>1</verStamp>
</sshConfigurationDef>
<sshConfigurationDef>
<cipherString>aes256-cbc,aes192-cbc</cipherString>
<createdBy>admin</createdBy>
<createdTimestamp>2024-06-09 12:50:14 PM</createdTimestamp>
<description>
<![CDATA[Default SSH Config updated]]></description>
<forceToUnlock>true</forceToUnlock>
<formatVer>10</formatVer>
<formatVersion>2</formatVersion>
<keyExchangeString>diffie-hellman-group-exchange-sha256,diffie-hellman-group1-sha1</keyExchangeString>
<lastModifiedBy>admin</lastModifiedBy>
<lastModifiedTimestamp>2024-06-09 12:50:14 PM</lastModifiedTimestamp>
<lockedBy></lockedBy>
<lockedTimestamp></lockedTimestamp>
<macString>hmac-sha2-256,hmac-sha1-96,hmac-sha1</macString>
<name>newSSH</name>
<status></status>
<verStamp>1</verStamp>
</sshConfigurationDef>
</sshSecurityConfigsTag>
</sspCMConfigTag>