How to create the keyfile for the remote server?