Rewrite sshkey security plugin

Fix default rsa file lookup.