Connect via VNC or use the Web Console within the Control Panel to login to your Mac Bare Metal device.
On your Mac, choose Apple menu > System Preferences, then click Sharing.
If not activated, activate the "Remote Login" tickbox.
Specify which users can log in: - All users: Any of your computer’s users and anyone on your network can log in. - Only these users: Click the Add button , then choose who can log in remotely.
You should now be able to connect with a SSH client.