Monthly Archives: July 2009

Expect script to print out IronPort config, showconfig

Logging this here for easy fetching later. #!/usr/bin/expect set timeout 30 spawn ssh USERNAME@HOSTNAME expect_after eof { exit 0 } ## interact with SSH expect { “yes/no” { send “yes\r” } -re “.assword:” { send “PASSWORD\r” } } expect “> … Continue reading

Posted in Code, Linux | Tagged , | 1 Comment

Make a Private/Public Key Pair, Self Signed, No Password

This is take straight from http://devsec.org/info/ssl-cert.html. I’m getting it on my blog, as a reference to myself, so I can make a key pair quickly in the future. Make a new ssl private key: * Generate a new unencrypted rsa … Continue reading

Posted in Linux | Tagged | 1 Comment