I believe if you google it you’ll find some community chats on remote kernels, such as Setup Remote Kernels on Windows Machines
You didn’t mention if SSH is installed and configured on both machines and if you can use bash(1) to execute the remote kernel math(1) through ssh(1). If you cannot do it by hand, then Mathematica also can not do it either.
Mathematica (now) has two ways to connect to a remote kernel. The ‘older’ way is TCP/IP port mathlink (which is not login-based and security is “up to you and your OS”). A newly supported way is by "shell log-in access (this may merely launch math(1) with parameters on the remote machine if it is not already running, btw).
“In the Kernel Program field, give the command that would be used to run the Wolfram System through a terminal window on the remote machine”. You didn’t post what your setup fields were, so I think for anyone to help you, you should post more information - such as the command you used.