Skrevet av Emne: Linux: Log a telnet session  (Lest 5604 ganger)

ATC

  • Gjest
Linux: Log a telnet session
« på: 17. Januar 2011, 16:59 pm »
  • [applaud]0
  • [smite]0
  • How to log a telnet session? I tried '-n tracefile' but it only produces an empty file.



    ATC

    • Gjest
    [Solved] Linux: Log a telnet session
    « Svar #1 på: 17. Januar 2011, 16:59 pm »
  • [applaud]0
  • [smite]0
  • I googled around for a bit and found a neat article:

    Rather than building logging into your telnet application, why not build a wrapper that you can use with any program? That's what 'script' is. Just run the command and tell it where to output the data.

    "script -c "telnet myhost.domain.com" /tmp/output.log"