Skip to content

Instantly share code, notes, and snippets.

@tolleiv
Created March 18, 2014 08:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tolleiv/9615873 to your computer and use it in GitHub Desktop.
Save tolleiv/9615873 to your computer and use it in GitHub Desktop.
Log a telnet session
#!/bin/bash
umask 000
script -a /tmp/telnet.log.$$
/usr/bin/telnet $*
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment