Why does the ssh log have control characters and looks different from the actual input?

Why does the ssh log have control characters and looks different from the actual input?

 The ssh logs with log type ' input', the ssh user logs would record the exact keyboard input including the ctrl characters.

For example, you would be using [tab] completion [ctrl-R] to search from bash history to run the commands. Commands run using auto-completion, tab completion or keyboard shortcuts would appear as the respective 'key pressed'

  • In order to view the exact command that was run, make to enable full ssh log recording under Settings->general->Security->ssh session loggin->Both

 

  • Once this full ssh session recording is enabled, you can now view the entire command by searching for the ssh logs under Users->SSH-logs->logtype->ALL.

        

 

The full ssh session log would have the entire input and the output of the command without the command shortcuts/or control characters.

 

0 (0)
Article Rating (No Votes)
Rate this article
    Attached Files
    There are no attachments for this article.
    Related Articles RSS Feed
    Disable two factor authentication (2FA Google, Yubikey , Access Keyword, DUO)
    Viewed 5186 times since Thu, Jun 15, 2017
    web interface very slow to load
    Viewed 408 times since Wed, Sep 19, 2018
    Error: Reached maximum number of servers allowed by current license. Please upgrade license to add more servers.
    Viewed 1611 times since Thu, Nov 2, 2017
    Error: User add failed. Cannot add user on this node: FAILED: to establish SSH session
    Viewed 542 times since Thu, Sep 6, 2018
    User add failed
    Viewed 2082 times since Wed, Jun 14, 2017
    usernames already exists
    Viewed 211 times since Fri, Mar 15, 2019
    Unable to connect to your database server using the provided settings.
    Viewed 5288 times since Thu, Jun 15, 2017
    User add failed Cannot add user on this node: REMOTE HOST IDENTIFICATION HAS CHANGED!
    Viewed 3380 times since Wed, Jun 14, 2017
    strange characters in the SSH logs recordings
    Viewed 1874 times since Thu, Jun 15, 2017
    Configuration and error log files to check for troubleshooting
    Viewed 3492 times since Thu, Jun 15, 2017