Open Terminal in MAC and you need to SSH into your Apple TV,simply enter this command

ssh root@apple-tv.local

Use alpine as your password. (That’s the default password; if you’ve changed it, use whatever you changed it to.) Use your Apple TV’s local IP address for the SSH connection if Apple TV2G local doesn’t work.