Connect to servers in Terminal on Mac
With Terminal, you can connect to remote servers using several protocols, including ssh, sftp, ftp, telnet, or a protocol you define.
In the Terminal app on your Mac, choose Shell > New Remote Connection.
Select a protocol in the Service list.
Select a shared server in the Server list.
In the User field, enter a user name, then click Connect.
If you know the server’s IP address, you can enter it directly in the address field at the bottom of the window.