Coredump
Work, play, and everything in-between [feed]

Posts Tagged ‘cli’

Bypassing SSH strict checking

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 [...]

Generate random strings

(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 [...]

Find duplicate files

Update: As Pádraig Brady, fslint maintainer, pointed out: fslint/findup *is* a shell script.
My 500-GB Seagate FreeAgent Desktop is almost filled to the brim (there’s *only* ~70GB free space left) so I need to find all duplicate files for clean-up.
Fortunately, there are tools to do just this. I tried fslint, which is also available in [...]

Redirecting Wordpress feeds to Feedburner

(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 [...]

Fix for Picasa 3 Linux login problem

(Update: Just realized that this isn’t a fix but a workaround. The fix would be for Google to bundle the working Wine binaries. (Then again, they most likely use the stable release, while Fedora uses the current development one. Oh well…))
Picasa 3 for Linux has this niggling* problem: you can’t log on to Picasa Web. [...]

« Before