I use an SSH gateway for work (one that requires two-factor authentication: an RSA SecureID PIN and an AES-encrypted Kerberos password). Problem is, since the gateway servers are clustered and change often, I sometimes get the following:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE [...]
(Another “piecemeal” post. Yes, I know: I should write more often.)
I cycle through one-off passwords (of varying lengths). To generate these, I use the following shell script:
#!/bin/bash
usage() {
echo "Usage: `basename $0` [length]"
}
[ $# -gt 1 ] && usage && exit 65
[ $# -eq 0 ] && len=8 || len=$1
strings /dev/urandom | grep -o [...]
(Hello. It’s been a while since my last post. I mostly post on Twitter, Facebook and identi.ca now. I also maintain two “mini-blogs” on Tumblr and Posterous. My two loyal readers should head over there, follow my social network accounts, or subscribe to my aggregator. *hint, hint* Anyway…)
I’ve been meaning to fold in [...]
Er… profiles, I mean.
I use Firefox add-ons for the occasional web development tasks. (Too bad, not all my favorite extensions are available in the workplace’s “blessed” add-ons repository, but I can live with what’s in there.) Sometimes, though, having too many add-ons slows down the browsing experience, specially for times when you just [...]
Just a quick note, lest I forget this. To redirect a subdirectory to a subdomain using .htaccess, use the following:
<ifmodule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^subdirectory(.*)$ http://subdomain.domain.tld$1 [R=301,L]
</ifmodule>
(Note the 301 permanent redirect.) The regular expression is greedy, but it takes care of the trailing slashes — just in case. *shrugs*
Under Creative Commons License (by-nc). Theme: Deposed.