Here are the simple steps for keylogger in ubuntu
What is Keylogger?
Keystroke logger is the practice of noting (or logging) the keys struck on a keyboard, typically in a covert manner so that the person using the keyboard is unaware that their actions are being monitored. There are numerous keylogging methods, ranging from hardware- and software-based to electromagnetic and acoustic analysis.
keylogger in Linux
We have an opensource software available for Linux called lkl (Linux Key Logger).
LKL is a userspace keylogger that runs under linux–x86/arch. LKL sniffs and logs everything passes trought the hardware keyboard port (0×60).
How to Install?
Unzip or untar the file you have downloaded
Change in to directory by typing cd lkl
Give the below command
This will check all the required resurces it needs
Type `make‘ to compile the package.
Optionally, type `make check’ to run any self-tests that come with the package.
Type `sudo make install‘ to install the
Now you are done with the installation
How to use?
You can send argument with the command lkl
-l start to log the 0×60 port (keyboard)
-b debug mode
-k <km_file> set a keymap file
-o <o_file> set an output file
-m <email> send logs to <email>
-t <host> hostname for sendmail. Default is localhost
Example: lkl -l -k us_km -o log.file // use USA kb and put logs in ‘log.file’
Please comment on the same if it doesn’t works for you