Docs
Connect to macOS via SSH

Connect to macOS via SSH

Enable SSH on macOS and connect from SwiftServer using password or SSH key authentication.

Enable SSH on macOS

To allow remote SSH access on your Mac, follow Apple's guide:

  1. Open System Settings on your Mac.
  2. Go to General > Sharing.
  3. Turn on Remote Login.
  4. (Optional) Limit access by choosing which users can log in.

Reference: Allow a remote computer to access your Mac

Connect Your Mac in SwiftServer

After SSH is enabled, open SwiftServer and add a new server:

  1. Enter the Host:
    • Use 127.0.0.1 if SwiftServer and macOS are on the same machine.
    • Otherwise, enter your Mac's LAN IP address (for example, 192.168.1.20).
  2. Enter the correct Username and Password for that macOS account.
  3. If you already generated SSH keys on your Mac, you can use key-based login instead of password login.
  4. Save and connect.

What You Can Do After Connecting

Once connected, SwiftServer lets you:

  • Check macOS status and resource metrics
  • Open an SSH terminal session
  • Use SFTP for file management