Querying all SSH settings policies
Querying all SSH settings policies request
curl --cookie cookies.txt --request GET https://<IP-address-of-SPS>/api/configuration/ssh/settings_policies |
Querying the default SSH settings policy
Querying the default SSH settings policy request
curl --cookie cookies.txt --request GET https://<IP-address-of-SPS>/api/configuration/ssh/settings_policies/-300 |
Querying the default SSH settings policy response
{ |
"key": "-300", |
"body": { |
"name": "default", |
"timeout": 600, |
"inactivity_timeout": { |
"enabled": false |
}, |
"preconnect_channel_check": false, |
"greeting": "", |
"userauth_banner": "", |
"software_version": "SSH", |
"strict_mode": true, |
"client_side_algorithms": { |
"kex": ["diffie-hellman-group14-sha1", "diffie-hellman-group1-sha1"], |
"cipher": ["aes128-ctr", "aes192-ctr", "aes256-ctr", "aes128-cbc", "blowfish-cbc", |
"cast128-cbc", "aes192-cbc", "aes256-cbc", "3des-cbc", "arcfour"], |
"mac": ["hmac-sha1", "hmac-md5"], |
"compression": ["none"], |
"hostkey": ["ecdsa-sha2-nistp256", "ecdsa-sha2-nistp384", "ecdsa-sha2-nistp521", "ssh-ed25519","rsa-sha2-512","rsa-sha2-256","ssh-rsa"] |
}, |
"server_side_algorithms": { |
"kex": ["diffie-hellman-group14-sha1", "diffie-hellman-group1-sha1"], |
"cipher": ["aes128-ctr", "aes192-ctr", "aes256-ctr", "aes128-cbc", "blowfish-cbc", |
"cast128-cbc", "aes192-cbc", "aes256-cbc", "3des-cbc", "arcfour"], |
"mac": ["hmac-sha1", "hmac-md5"], |
"compression": ["none"], |
"hostkey": ["ecdsa-sha2-nistp256", "ecdsa-sha2-nistp384", "ecdsa-sha2-nistp521", "ssh-ed25519","rsa-sha2-512","rsa-sha2-256","ssh-rsa"] |
} |
}, |
"meta": { |
"first": "/api/configuration/ssh/settings_policies/-300", |
"href": "/api/configuration/ssh/settings_policies/-300", |
"last": "/api/configuration/ssh/settings_policies/93246150354ca6b9a48fba", |
"next": "/api/configuration/ssh/settings_policies/93246150354ca6b9a48fba", |
"parent": "/api/configuration/ssh/settings_policies", |
"previous": null, |
"transaction": "/api/transaction" |
} |
} |