Hi Girish,

How about logging the ssh operations. will  script command works?
I mean,
1) Login to another linux box using ssh
2) doing some operations (ran some commands)

How do i log this using linux command  (script)

thanks
suresh


Date: Sun, 22 Nov 2009 13:18:42 +0530
From: Girish Venkatachalam <[email protected]>
Subject: [Ilugc] .a-tip-a-day. (script - record input and output from
       a       terminal)
To: Indian Linux User Group Chennai <[email protected]>
Message-ID:
       <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1

$ script /tmp/output.txt

will start  a new shell and redirect all the input and output commands
to the file /tmp/output.txt

You need not give a filename as argument.

This is a simple but very powerful command and can be used for a
variety of debugging tasks.

If you wish to have a key recorder program, you are looking for
ttyrec(1) and ttyplay(1).

-Girish

--
Gayatri Hitech
web: http://gayatri-hitech.com

SpamCheetah Spam filter:
http://spam-cheetah.com
_______________________________________________
To unsubscribe, email [email protected] with 
"unsubscribe <password> <address>"
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to