This executable can load shared libraries that may be used to run arbitrary code in the same execution context.
This function can be performed by any unprivileged user.
ssh-keygen -D /path/to/lib.so
This function is performed by the privileged user if executed via sudo because the acquired privileges are not dropped.
ssh-keygen -D /path/to/lib.so
This function is performed by the privileged user if the executable has the SUID bit set and the right ownership because the effective privileges are not dropped.
ssh-keygen -D /path/to/lib.so