SSH Logging

Steven W. Orr steveo at syslang.net
Wed Mar 19 15:15:17 UTC 2008


On Monday, Mar 17th 2008 at 16:20 -0000, quoth Bill Davidsen:

=>Thomas Kappelmueller wrote:
=>> Thomas Kappelmueller wrote:
=>> > Mike wrote:
=>> > > On Mon, 17 Mar 2008, Thomas Kappelmueller wrote:
=>> > > 
=>> > > > Hallo!
=>> > > > 
=>> > > > Is there a easy way to log all the output of a SSH-Session?
=>> > > 
=>> > > Is 'script' what your looking for?
=>> > > 
=>> 
=>> One thing that makes it not perfectly perfect ;) is the fact that you have
=>> to exit twice.
=>> I added an exit after the script command.
=>> 
=>You can just "exec" the script command and avoid that.

Real men have a .profile (or .bash_profile) that just has one line:

exec emacs

;-)

-- 
Time flies like the wind. Fruit flies like a banana. Stranger things have  .0.
happened but none stranger than this. Does your driver's license say Organ ..0
Donor?Black holes are where God divided by zero. Listen to me! We are all- 000
individuals! What if this weren't a hypothetical question?
steveo at syslang.net




More information about the fedora-list mailing list