Enable Session Logging for SSH secure shell client
In DBA's work, you often need to remotely connect to the database server host for related operations. If the database is deployed on a Linux system, SSH secure shell client is commonly used, to ensure that DBA operations can be monitored and traceable, we recommend that you enable the session log function of the client to record all the operations performed by the DBA and each command sent in a log file. In this case, we also provide good raw materials for subsequent case analysis and summarization. In rare cases, we can avoid unnecessary disputes.
I found that this function is rarely introduced during online search because it is too simple. In any case, I will introduce how to enable this function here, the specific operation is not the most important. The greater purpose is to enable the logging feature for the DBA.
1. log on to the SSH secure shell client
2. Enable Session Logging: File --> Log Session
3. Specify the log file path
This article permanently updates the link address: