Bug 955694 - OpenSSH integration broken with OpenSSH 6.2
Summary: OpenSSH integration broken with OpenSSH 6.2
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: ipa
Version: 7.0
Hardware: Unspecified
OS: Unspecified
Target Milestone: rc
: ---
Assignee: Rob Crittenden
QA Contact: Namita Soman
Depends On:
TreeView+ depends on / blocked
Reported: 2013-04-23 14:45 UTC by Dmitri Pal
Modified: 2014-06-18 00:09 UTC (History)
2 users (show)

Fixed In Version: ipa-3.2.1-1.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2014-06-13 09:26:23 UTC
Target Upstream Version:

Attachments (Terms of Use)

Description Dmitri Pal 2013-04-23 14:45:18 UTC
This bug is created as a clone of upstream ticket:

This is because the optional AuthorizedKeysCommandRunAs option has been changed to mandatory AuthorizedKeysCommandUSer option. The AuthorizedKeysCommandUser option should be set for both new client installs and on client updates.

Comment 1 Namita Soman 2013-04-23 17:51:19 UTC
Steps to verify in bug 953617

Comment 2 Rob Crittenden 2013-04-30 15:12:01 UTC
Fixed upstream.

master: ddd8988f1cd2c5ecafb476a6efca15e906cb84df

ipa-3-1: 47f701cde394e74442410307623ce25314319047

Comment 5 Kaleem 2014-01-13 07:41:26 UTC

IPA client version:
[root@rhel70-client ~]# rpm -q ipa-client openssh
[root@rhel70-client ~]#

(1)IPA client install

[root@rhel70-client ~]# ipa-client-install -U --domain=testrelm.com --realm=TESTRELM.COM -p admin -w xxxxxxxx --server=rhel70-master.testrelm.com
Hostname: rhel70-client.testrelm.com
Configured /etc/krb5.conf for IPA realm TESTRELM.COM
Adding SSH public key from /etc/ssh/ssh_host_rsa_key.pub
Adding SSH public key from /etc/ssh/ssh_host_ecdsa_key.pub
Adding SSH public key from /etc/ssh/ssh_host_dsa_key.pub
Configured /etc/ssh/ssh_config
Configured /etc/ssh/sshd_config
Client configuration complete.
[root@rhel70-client ~]#

Snippet from /var/log/ipaclient-install.log:
2014-01-13T07:35:16Z DEBUG Backing up system configuration file '/etc/ssh/sshd_config'
2014-01-13T07:35:16Z DEBUG Saving Index File to '/var/lib/ipa-client/sysrestore/sysrestore.index'
2014-01-13T07:35:16Z DEBUG Starting external process
2014-01-13T07:35:16Z DEBUG args=sshd -t -f /dev/null -o AuthorizedKeysCommand=/usr/bin/sss_ssh_authorizedkeys -o AuthorizedKeysCommandUser=nobody
2014-01-13T07:35:16Z DEBUG Process finished, return code=0
2014-01-13T07:35:16Z DEBUG stdout=
2014-01-13T07:35:16Z DEBUG stderr=
2014-01-13T07:35:16Z INFO Configured /etc/ssh/sshd_config

Comment 6 Ludek Smid 2014-06-13 09:26:23 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.

Note You need to log in before you can comment on or make changes to this bug.