Archives
Admin / Logout

Adam Merrifield

a picture of me
I am a web designer, theme designer, professional photographer and internet personality. I make many pretty things and I write a lot of content for the internet.

I am one of those guys that, because of the industry I am in, need to be connected at all times. At any given moment you'll find me posting on a forum, updating with twitter, Digging things worthy of attention, uploading pictures, or tagging cool sites.

here i am

seyDoggy Systems:
This is home base, the corporate headquarters, the hub, if you will, seyDoggy.com.

seyDesign news:
these are the RapidWeaver related posts that originally appear in the seyDesign.com blog

Uploads from seyDoggy:
these are the pictures that I upload to flickr

Merrifield Photography:
as a professional photographer I my camera ready at Merrifield-Photography.com.

delicious.com/seydoggy:
these are the websites I want to share or revisit later on. I just tag them on delicious.com.

what i am

I am the owner and operator of seyDoggy Systems, a small theme, code and design outfit based in Kitchener, Ontario, Canada. We primarily develop web based technologies but have begun to dabble in the desktop realm.

what i do

I code like a fool. I design like a fool. I am happiest when I can split my time between the two (though I tire of Photoshop faster then I do TextMate or Terminal), and somehow I have managed to etch out a living doing so.

Mac OS X Lion command line mail with Gmail as SMTP

“I have been trying to get my command line mail working on my MacOS Lion today and I noticed that the normal postfix emails get treated as SPAM by Google and because I was sending emails to myself on my gmail account, that was an issue for me. So, I thought of using gmail as my outgoing SMTP server for this. Here are the steps I followed–via Using MacOSX Lion command line mail with Gmail as SMTP | Anuj Gakhar.

No comments | Trackback

Generating DSA PEM key pairs

I needed a pair of DSA keys recently, not standard ssh DSA keys but PEM keys. Creating DSA PEM keys is something best suited to openssl but it can be a pain in the butt to get the params set up right. And othing creates key pairs quite as easily as ssh-keygen so I thought, what the heck, let’s combine the best of both worlds.

I figured I’d keep my new keys in ~/.ssh where my RSA keys already live:

$ cd ~/.ssh

The next step is to create an ssh DSA key pair with ssh-keygen. -t sets the type (dsa in this case) while -b sets the number of bits (dsa are limited to 1024):

$ ssh-keygen -t dsa -b 1024

You’ll be asked for a file name and location (default is fine), and ask you for a passphrase. Unless you want the client side to always be prompted for a passphrase, I’d leave this blank.

Then we’ll use openssl to convert the ssh private dsa to a PEM. The default dsa we just created would be called id_dsa. If you named it otherwise, then change this line accordingly after the -in option:

$ openssl dsa -in id_dsa -outform pem > dsa_priv.pem

Now we have a private DSA PEM that we can use to create our public PEM:

$ openssl dsa -in dsa_priv.pem -pubout -out dsa_pub.pem

In your ~/.ssh folder you’l now have dsa_priv.pem and dsa_pub.pem. Keep the private DSA PEM in a safe place and use the dsa_pub.pem as necessary for your client needs.

| Trackback
Powered by RapidWeaver, WP-Blog and WordPress 3.3.1