Reference Guide
...
Session Manager
SSH Proxy
Session Log Control in SSH Proxy
1min
In some of the usage scenarios of SSH Proxy, sensitive data can be used in the command on the connected device. It is possible that this sensitive data used is not wanted to be displayed openly in logs. In the case of thensso.cli.secret_masking_patternproperty key must be defined on the corresponding element type.The definition should have a precise form. For example, thepart of thiscommandthatcontains the sensitive information, can be defined as $$value$$ at the property key with regular expression.
Property key definition:
nsso.cli.secret_masking_pattern= sshpass -v -p "$$value$$" ssh .*
CLI Input:
sshpass -v -p "Password1" ssh [email protected]
Session and Command Log lines at Single Connect:
sshpass -v -p "*****" ssh [email protected]