Thrum

What is sshd, and why is it running on my Mac?

Last reviewed: 19 November 2026. Path, launchd job, code signature and man page checked on macOS 26.3.1.

sshd is the OpenSSH server built into macOS. It runs only when Remote Login is turned on in System Settings, and lets other computers log in to your Mac with SSH or copy files with SFTP. Each connection gets its own sshd process; turn off Remote Login if you do not use it.

sshd at a glance

sshd
Made byOpenSSH, shipped by Apple as part of macOS
TypeSystem daemon (only with Remote Login on)
Location/usr/sbin/sshd
Runs asroot
Started bylaunchd job com.openssh.sshd
Can you quit it?Quitting an sshd process ends that remote session. To stop it for good, turn off Remote Login.

What is sshd?

The man page describes sshd as the OpenSSH daemon that provides secure encrypted communication between two hosts, and says it forks a new daemon for each incoming connection to handle key exchange, encryption, authentication and commands. On macOS 26 the server is OpenSSH, signed by Apple with the identifier com.apple.sshd.

Its launch daemon, com.openssh.sshd, is disabled by default. Turning on Remote Login in System Settings > General > Sharing enables it; launchd then listens on the SSH port, TCP 22, advertises SSH and SFTP over Bonjour, and starts sshd for each connection. Apple's guide describes Remote Login as access to your Mac from another computer using SSH or SFTP.

Is sshd safe?

sshd is Apple's build of OpenSSH, in /usr/sbin on the read-only system volume. Remote Login itself is safe to use with strong passwords or SSH keys, but it opens a way into the Mac, so keep it off unless you need it.

Why does sshd use so much network and CPU?

How much CPU is normal for sshd?

With Remote Login off, sshd does not run. With it on, there is one sshd process for each active connection, mostly idle between keystrokes.

CPU and network use during a large file transfer are expected and stop when it ends.

How do you stop sshd or see who is connected?

  1. See the sessions. Run who in Terminal to list logged-in users, including SSH sessions with the address they came from.
  2. Turn off Remote Login. Open System Settings > General > Sharing and turn off Remote Login. New connections are refused.
  3. Limit who can log in. If you need it, click the Info button next to Remote Login and set Allow access for to only the users who need it.
  4. Do not expose port 22 to the internet. Remove any router port forwarding to this Mac's port 22 unless you rely on it. Use SSH keys instead of passwords if you do.

When should you worry about sshd?

Look closer if sshd is running and you did not turn on Remote Login, or who lists sessions you do not recognize. Turn Remote Login off and change your password. A Mac managed by an organization may have Remote Login turned on by its administrator.

How do you check sshd in Activity Monitor and Terminal?

Open Activity Monitor (Applications > Utilities), choose View > All Processes, and type sshd in the search field. The Network tab shows its Sent Bytes and Rcvd Bytes. The CPU tab shows its % CPU. Double-click the row for its parent process, memory details and open files.

In Terminal, the first command lists every sshd process with its PID, user, CPU and memory (RSS is resident memory in kilobytes). nettop shows its live network traffic.

ps -axo pid,user,%cpu,%mem,rss,command | grep -F 'sshd' | grep -v grep
nettop -p sshd

How can Thrum help with sshd?

Thrum keeps a live CPU graph in the menu bar. One click shows the eight processes using the most CPU, so you can see when sshd is among them and how much it takes. An optional alert tells you when a process stays above a CPU level you choose (50 to 200% of one core) for 1 to 10 minutes. macOS does not let apps quit processes owned by root or other users, so Thrum shows them for information and leaves stopping them to the steps above.

Thrum is $4.99 once with a 14-day free trial and no account. It requires macOS 26 Tahoe on Apple silicon or Intel.

Questions about sshd

Why are there several sshd processes?

Each connection gets its own sshd process, so several sessions mean several processes.

Is sshd used when I ssh to another computer?

No. Connecting out uses the ssh client. sshd only accepts connections into this Mac.

Does Remote Login give full disk access?

Only if you turn on the option to allow full disk access for remote users in the Remote Login settings.

Sources