mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-25 08:21:05 -06:00
15b30e15a4
The ProxyCommand is non-executable if the user does not have a valid shell (like /sbin/nologin) so skip it in that case. https://pagure.io/freeipa/issue/7676 Signed-off-by: Rob Crittenden <rcritten@redhat.com> Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
11 lines
385 B
Plaintext
11 lines
385 B
Plaintext
# IPA-related configuration changes to ssh_config
|
|
#
|
|
PubkeyAuthentication yes
|
|
${ENABLEPROXY}GlobalKnownHostsFile $KNOWNHOSTS
|
|
${VERIFYHOSTKEYDNS}VerifyHostKeyDNS yes
|
|
|
|
# assumes that if a user does not have shell (/sbin/nologin),
|
|
# this will return nonzero exit code and proxy command will be ignored
|
|
${ENABLEPROXY}Match exec true
|
|
${ENABLEPROXY} ProxyCommand $KNOWNHOSTSPROXY -p %p %h
|