To generate the Host Key in base64 form, run the following command using Git bash to scan the ssh public key in base64 format:
ssh-keyscan -t <host key algorithm type> -p <port number> <host name>
Example:
ssh-keyscan -t rsa -p 22 example.com
Here we are using the rsa algorithm and SFTP port number 22.
In this example, in the place of example.com, you can add the Host URL or the IP address.