Added code to set up public-key authentication.

Copied from iangow.wordpress.com.