SSH permits different authentication methods. By default, it allows password authentication and public key authentication. It is best to use two different machines to test authentication. Since the Power server is already configured with SSH, you can use it as the server. Use your VM as the client machine.