Archive for February, 2012
by Jason Stewart
Step 1: Create the Certificate Signing Request (CSR) openssl req -nodes -newkey rsa:2048 -keyout mysite.com.key -out mysite.com.csr It will ask the following questions. Answer all of them except for the last two (challenge password and optional company name). If you do set a challenge password, each program which uses the certificate will also need to […]
by Jason Stewart
Enter config mode, create a local administrative user (in the event of RADIUS failure), and enable AAA new model: config t username admin privilege 15 password 0 <ADMIN PASSWORD> aaa new-model Specify the RADIUS server information: radius-server host <RADIUS SERVER IP> auth-port <RADIUS AUTH UDP PORT #> acct-port <RADIUS ACCT UDP PORT #> radius-server retransmit […]
POSTED: 2012-02-14
UPDATED:
2015-05-19
CATEGORIES:
Networking
by Jason Stewart
Ever need to recursively set permissions only on files or folders in Linux/Unix? One way to do it is with the find command. For files, use -type f. For directories, use -type d. For example: # RECURSIVELY CHMOD DIRECTORIES UNDER CURRENT PATH TO 750 find ./ -type d -exec chmod 750 {} \; # RECURSIVELY […]
POSTED: 2012-02-14
UPDATED:
2017-01-09
CATEGORIES:
Linux,
Unix
by Jason Stewart
ASCII font generators, for switch banners, messages of the day, and other stuff: http://www.kammerl.de/ascii/AsciiSignature.php http://asciiset.com/figletserver.html http://patorjk.com/software/taag/ ██╗ ██╗███████╗ █████╗ ██╗ ██╗██╗ ╚██╗ ██╔╝██╔════╝██╔══██╗██║ ██║██║ ╚████╔╝ █████╗ ███████║███████║██║ ╚██╔╝ ██╔══╝ ██╔══██║██╔══██║╚═╝ ██║ ███████╗██║ ██║██║ ██║██╗ ╚═╝ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝
POSTED: 2012-02-13
UPDATED:
2017-01-09
CATEGORIES:
Tools
by Jason Stewart
DO: Give VLANs descriptive names. Comment configuration lines as much as reasonably possible. Disable TELNET! Use SSH instead. (Requires crypto image on Cisco) Have a dedicated management VLAN and IP subnet. Limit access to the SSH console with layer 3 ACLs if possible. For correct timestamps, configure the clock to synchronize with a Network Time […]
Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/eggplant.pro/site/blog/wp-content/themes/eggplant2/inc/nav.php on line 14