#1356 sss_ssh_knownhostsproxy prevents connection to machine without reverse address

Created 5 years ago by jhrozek
Modified 4 months ago

https://bugzilla.redhat.com/show_bug.cgi?id=825316 (Fedora)

Description of problem:
When I install IPA server with SSH support (and thus sss_ssh_knownhostsproxy is
used as a ProxyCommand in ssh_config) , I cannot ssh to machine without a
reverse address:

# host vm-050.idm.lab.bos.redhat.com
vm-050.idm.lab.bos.redhat.com has address
# host
Host not found: 3(NXDOMAIN)

# ssh -vv vm-050.idm.lab.bos.redhat.com
OpenSSH_5.9p1, OpenSSL 1.0.0j-fips 10 May 2012
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 54: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Executing proxy command: exec /usr/bin/sss_ssh_knownhostsproxy -p 22
debug1: permanently_set_uid: 0/0
debug1: identity file /root/.ssh/id_rsa type -1
debug1: identity file /root/.ssh/id_rsa-cert type -1
debug1: identity file /root/.ssh/id_dsa type -1
debug1: identity file /root/.ssh/id_dsa-cert type -1
debug1: permanently_drop_suid: 0
Reverse lookup failed
ssh_exchange_identification: Connection closed by remote host

When the proxy command is commented, the connection to the same machine works.

This is too strict, we cannot require working reverse records for every machine
we want to connect to.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Install IPA server on a machine
2. On that machine, try to connect to other machine without a reverse record

Actual results:
Connection is rejected

Expected results:
Connection is accepted

Additional info:
I think this issue is present also in RHEL 6.3 Beta.

Fields changed

blockedby: =>
blocking: =>
coverity: =>
feature_milestone: =>
owner: somebody => jcholast
status: new => assigned
tests: => 0
testsupdated: => 0
upgrade: => 0

Fields changed

patch: 0 => 1

Fields changed

milestone: NEEDS_TRIAGE => SSSD 1.8.5 (LTM)

sssd-1-8: 9fc7c094d873bc790ba0d06a76e6abe57a38db35[[br]]
master: b9698ee9e8365f16aebd780087d1ef4830ea9f39

resolution: => fixed
status: assigned => closed

4 months ago

Metadata Update from @jhrozek:
- Issue assigned to jcholast
- Issue set to the milestone: SSSD 1.8.5 (LTM)

Login to comment on this ticket.