Remote connection to a Mac (OSX)

  • Open a bash window in Windows 10 (Start + “bash”)
  • Connect to the Mac using ssh [username]@[ipaddress]
    • e.g. “ssh jenkins@192.168.1.100”
    • If you get an error saying “Connection refused” then you’ll need to go to “System Preferences ->Sharing” on the Mac and enable “Remote Login” for the user you want to connect as
  • Type your password
  • You should now be looking at a bash script commandline interface to the mac
Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: