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
    LDAP verification failed. Connection to {hostname} closed.
    Viewed 1441 times since Fri, May 18, 2018
    An error occurred while trying to submit the form
    Viewed 553 times since Tue, Feb 25, 2020
    F1 - F4 keys not working in ezsh when using PuTTY
    Viewed 32780 times since Wed, Jun 14, 2017
    Trying to install or update a seondary as primary. Use -as_primary option to force it.
    Viewed 495 times since Tue, Oct 27, 2020
    setup web ssh console in ezeelogin and ssh via browser
    Viewed 13706 times since Tue, Jan 30, 2018
    internal command ezinfo not displaying server details
    Viewed 3603 times since Wed, Jun 14, 2017
    Internal browser error: Failed to launch the browser process!
    Viewed 612 times since Wed, Nov 11, 2020
    ezsh segfault or kicked of ezsh ssh session or ssh session crash
    Viewed 2658 times since Thu, Jun 15, 2017
    ERROR for site owner: Invalid domain for site key
    Viewed 6951 times since Thu, Jun 28, 2018
    function keys in htop command not working in putty
    Viewed 135 times since Fri, Feb 12, 2021