take out the user@host from the end of the public key