fix bugs in ssh key export functions