Macos – Connect to another Mac via Terminal

macmacosterminal.app

I need to connect to a Mac server from my MacBook using Terminal.app. If I open Finder, I can see it in my "SHARED" list. I can "connect as" an authenticated user and all that.

But how do I connect to the same machine from the Terminal? I don't know its IP address, just know it's name.

Thanks

Best Answer

ssh computer_name

You'll need to turn on Remote Login in the Sharing Prefs Pane of the computer you want to connect to.

Related Question