You can be your own certificate authority. SSH will trust whatever CA you give it the certificate for.
The CA could be on a remote server. It could also be a folder of certs and keys on your laptop, and you manage it with the openssl CLI.