Use the SSH key library.
Add error messages for key loading.