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
    Could not download binary package. Please manually download it from downloads.ezeelogin.com
    Viewed 307 times since Thu, Apr 4, 2019
    error log file and configuration file to troubleshoot
    Viewed 1604 times since Thu, Jun 15, 2017
    How do i disable google 2 factor authentication or other 2factor mechanisms?
    Viewed 3524 times since Wed, Jun 14, 2017
    "Blank page" error in webssh console
    Viewed 1245 times since Tue, Jan 30, 2018
    User modify failed Cannot modify user on this node: Authentication by ssh key failed
    Viewed 3072 times since Wed, Jun 14, 2017
    Token not found in Cpanel/WHM
    Viewed 3476 times since Wed, Jun 14, 2017
    User could not be found on the system:: No error information
    Viewed 269 times since Thu, May 30, 2019
    User add failed: Error waiting for connection: Cannot add user on this node: Could not connect
    Viewed 1661 times since Wed, Jun 14, 2017
    404 error on login with nginx
    Viewed 2189 times since Wed, Jun 14, 2017
    stdin: is not a tty TERM Environment variable not set error
    Viewed 867 times since Fri, Jul 20, 2018