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:
- Open System Settings on your Mac.
- Go to General > Sharing.
- Turn on Remote Login.
- (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:
- Enter the Host:
- Use
127.0.0.1if SwiftServer and macOS are on the same machine. - Otherwise, enter your Mac's LAN IP address (for example,
192.168.1.20).
- Use
- Enter the correct Username and Password for that macOS account.
- If you already generated SSH keys on your Mac, you can use key-based login instead of password login.
- 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