How can I list the configuration options that ssh/sshd was compiled with?
I'm attempting to troubleshoot a SELinux configuration issue, and want to make sure that SSH was compiled with --with-selinux.
|
|
|
I don't think there's a way to list compilation options, but something like SELinux support should be apparent from the libraries that the executable is linked against:
Looks like Another thing you could check (e.g. in case you had a static binary) is if there binary references some SELinux functions.
|
|||
|
|
I think you may need to look at the packaging system for your distro and find the options it compiles with. Some programs can output their compile flags, but I don't know of such an option for sshd. |
|||
|
|
|
If you are installing the default distribution packages, and
For custom distributions like Gentoo, where there are no default compilations options, this is more difficult, and I'd talk to the person who built the package, and also look at If you specify your distribution, as you should have done initially, people can presumably give you more specific pointers. |
|||
|
|