What is ‘sshd-keygen-wrapper’ on Mac? Here’s The Truth!

In this article, I will provide detailed information to help answer this question.

By Chris Smith - Senior Editor
2 Min Read

On your Mac, you may notice a strangely named tool called "sshd-keygen-wrapper" while using the Security & Privacy settings to manage the information your Mac makes available to others across the internet or on a network. You may run into the name of this tool elsewhere too. For example, you may also see a popup message saying, "’sshd-keygen-wrapper’ would like to receive keystrokes from any application."

You may wonder what this is. Should you delete or disable it? You may even wonder if your Mac is hacked or has malware. In this article, I will provide information to help answer these questions.

You can access the "sshd-keygen-wrapper" setting by going to Apple Menu > System Settings > Security & Privacy > Full Disk Access. If you select this option, you can disable or enable your apps, including "sshd-keygen-wrapper," to access all files on your Mac. By default, this setting is disabled; its box is unticked.

Who put sshd-keygen-wrapper in Full Disk Access?

This may be the first question you may have. You may wonder who put it in there; is someone trying to access the Mac because your computer has been hacked? The answer is no, sshd-keygen-wrapper is part of macOS, and it is perfectly normal that you see this. It is an ssh secure shell key generator and is there for privacy protection. It lets you enable or disable remote access. It is used when you are connecting to a Mac remotely via secure shell protocol, ssh.

What is sshd-keygen-wrapper on Mac?

sshd-keygen-wrapper is an SSH secure shell key generator used when connecting to a Mac remotely through SSH. It generates multiple SSH-related keys to help the SSH client identify the host Mac. It’s essential for establishing SSH remote access into systems with an SSH server.

On your Mac, you may or may not see this. If you go to Apple Menu > System Settings > General > Sharing and turn on Remote Login, this option will appear in Full Disk Access of your Privacy settings. There are these three scenarios:

  • If you have never turned on Remote Login, you won’t see sshd-keygen-wrapper.
  • If you have ever turned on Remote Login, you will see it. But it is disabled, and thus, access and permission are disabled. You can remove it if you want; see the section below.
  • If sshd-keygen-wrapper is ticked, access and permission are enabled.

Should it be given Full Disk Access?

The next question you may have is whether to grant sshd-keygen-wrapper full disk access. If you are accessing your Mac remotely from another Mac using ssh, you may want to tick this option. If you grant it Full Disk Access, macOS will, by default, give ssh Full Disk Access. This means that anyone who accesses your Mac using ssh can see and access all of your data, including Mail, Messages, and your files, on your Mac. Whether you should enable this option depends on your unique circumstances.

How to remove sshd-keygen-wrapper

You can remove this tool from the list of apps in Privacy & Security settings. However, if you turn on Remote Login again, this will appear again. Here is how to remove it:

  1. Go to Apple menu > System Settings > Privacy & Security > Full Disk Access.
  2. This section is probably locked. Click the Lock icon to unlock it. When asked, enter your Mac user password.
  3. Click to select sshd-keygen-wrapper.
  4. Click the Remove button.

sshd-keygen-wrapper would like to receive keystrokes from any application?

This is a notification that appears when you run an app, binary, or script that needs accessibility permissions while in an SSH session. If there’s no authorized person connected to your Mac through SSH, you should deny it.

TAGGED:
Senior Editor
Follow:
Chris Smith is a senior editor at GeeksChalk based in Canada. He likes to think of himself as a jack of all trades (and a master of at least a few), though he mainly focuses on iPhones and Macs. Often covering both at the same time. When not surrounded by various Apple devices while putting them through their paces, Chris can be found streaming the latest movies or series, gaming on his PS5, or getting fresh air on a hike in the beautiful wilderness of British Columbia.
Leave a Comment