2
votes
1answer
16 views

Replay a screen log file incrementally

I have run some commands in gnu screen and used the C-a H command to record the output to a screenlog.0 file. However now I want to view it. There are loads of terminal escape sequences, so just ...
0
votes
0answers
60 views

Seeing SSH debug messages in Terminal/console

I am seeing "debug3: Received SSH2_MSG_IGNORE" appear in the terminal on a RHEL 6 Linux server. I thought maybe rsyslog had a console entry, but it doesn't. sshd_config has logging at AUTHPRIV, and ...
2
votes
1answer
328 views

Logging interactive input and output without capturing all typed input and control characters

I am trying to log output from an interactive command-line program; units, specifically. I have tried using tee like this: units | tee units.log or script like this: script -c units units.log ...
1
vote
1answer
252 views

Difference between the sshd open & close entries in /var/log/secure and the log in & out entries in /var/log/wtmp

I have been trying to write a program to execute many commands during one ssh connection. My current way is (1) create SSH connection; (2) create SSH command tunnel/channel whenever needed; (3) ...
8
votes
1answer
238 views

How do I prevent system information from being displayed on a terminal?

I'm working on a curses GUI that is supposed to start up automatically on boot-up in the default linux terminal (I have no X server installed). I have this working great, but I have a problem where ...
4
votes
3answers
399 views

Is a command's stdout to the terminal being logged?

I am interested in learning whether a command's output to the terminal is logged somewhere. Since that can be a bit too generic, what about cat (and ccat) in specific? If I use cat on a file, will ...
3
votes
1answer
730 views

Unix User Level Keylogger

I need to record my own keystroke data for some academic research. I wrote a regular keylogger for Windows, but now I need to write one for a Unix environment, with the constraint that I have only ...
6
votes
2answers
643 views

Log file visualizer in a Terminal (UNIX) (terminal logging replay)

I need to log in to various servers via ssh, and its a useful thing to log the terminal (even things in smitty menus/AIX and with correct/exact date/time). I already have a solution for this: 0) # ...
2
votes
0answers
359 views

Terminal logging via putty on AIX (including smitty)

I use a terminal logging method on my Ubuntu Desktop for the GNOME-terminal (it's good when I use SSH in GNOME-terminal): Implementation As root: apt-get install bsdutils As the normal user: ...
0
votes
1answer
122 views

terminal logging doesn't complete when I close the terminal

This is the last line in my .bashrc (lines breaks inserted for readability): STARTTIME=`date +%F-%Hh-%Mm-%Ss-%N`; \ script -q -t 2> /home/USER/logs/$STARTTIME-timing.txt \ -c 'bash --rcfile ...
3
votes
2answers
2k views

How can I pipe input from one SSH session to another? Using fifo?

A while ago I saw an article about piping messages from one console window to another using fifo ? I haven't used that before and can't find my link to the article. How can I set this up? I'd like ...
2
votes
2answers
2k views

supress error messages sent to console?

How can I suppress error messages sent to a console? On: Ubuntu? Fedora? Debian? CentOS? RedHat?
9
votes
2answers
4k views

Viewing system console messages in GUI

Under Linux, is it possible to view error messages that show up on the text mode terminal while in GUI mode, instead of having to press Ctrl+Alt+F1 or Ctrl+Alt+F2 to view the messages every time and ...