Remove redundant code.
Add debug log messages.
Add support for ssh-ed25519 public keys.

Fixes #19.