I am searching for a keylogger for Ubuntu Linux. Finally I found it in sourceforge.net. 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?
Step 1
Unzip or untar the file you have downloaded
Step 2
Change in to directory by typing cd lkl
Step 3
Give the below command
./confiure
This will check all the required resurces it needs
Step 4
Type make' to compile the package.
Step 5
Optionally, type make check’ to run any self-tests that come with the package.
Step 6
Type `sudo make install‘ to install the programs
Now you are done with the installation
How to use?
You can send argument with the command lkl
-h help
-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
Related posts:


Great trick to know. I’m a huge Ubuntu lover, so this’ll definitely be bookmarked for later use
that is not work with error “have to be root to perform iopl()!”
s_man;
use sudo
How to send the log file to my gmail account automatically? I tried giving my email address under the -m option and setting the hostname to smtp.gmail.com under -t option but that is not working. Please help!!!!
All in all i tried doing this…
lkl -l -k us_km -o log.file -m xxx@gmail.com -t smtp.gmail.com
But i did not get any mail. As I am a n00b please explain how to achieve this in detail.
Thanks
hikz your passwords will straitly sent to the hacker man you are done
thanks guys.it is working fine..but i want to run logger service in background
how i can do this
sudo make install
make[1]: Entering directory
/home/hera/Documents/lkl'install-data-am’./bin/bash ./mkinstalldirs /usr/local/bin
/usr/bin/install -c lkl /usr/local/bin/lkl
make[1]: Nothing to be done for
make[1]: Leaving directory `/home/hera/Documents/lkl’
hera@hera-945GCMX-S2:~/Documents/lkl$
this is what i got after typing sudo make install interminal
unable to install keylogger.please help!!!
this is not working! wish someone would just make a click to install file no compiling etc
So I am running the above code lkl -l -k us_km -o log.file //
and getting
Started to log port 0×60. Keymap is us_kmALT. The logfile is log.file.
unable to find keymap-file: No such file or directory
What to do???