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
    unable to start mysql in ubuntu 14 " logger command not found"
    Viewed 2635 times since Thu, Jun 15, 2017
    User add failed
    Viewed 2713 times since Wed, Jun 14, 2017
    usernames already exists
    Viewed 466 times since Fri, Mar 15, 2019
    Error opening terminal: xterm-256color.
    Viewed 580 times since Wed, Jul 31, 2019
    Blank page when clicking add server
    Viewed 1921 times since Wed, Aug 16, 2017
    Google 2 factor authentication fails randomly
    Viewed 1814 times since Wed, Jun 14, 2017
    setup web ssh console in ezeelogin and ssh via browser
    Viewed 7960 times since Tue, Jan 30, 2018
    reCaptcha: Could not open socket Connection timed out
    Viewed 5002 times since Wed, Jun 14, 2017
    error log file and configuration file to troubleshoot
    Viewed 1940 times since Thu, Jun 15, 2017
    User add failed Cannot add user on this node: REMOTE HOST IDENTIFICATION HAS CHANGED!
    Viewed 3981 times since Wed, Jun 14, 2017