Bug 1043133 - 6.7.6. Configuring Secure Shell Access
Summary: 6.7.6. Configuring Secure Shell Access
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Documentation
Version: 2.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Julie
QA Contact: ecs-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-14 01:57 UTC by Luke Meyer
Modified: 2017-03-08 17:35 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-07 23:54:54 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Luke Meyer 2013-12-14 01:57:48 UTC
https://access.redhat.com/site/documentation/en-US/OpenShift_Enterprise/2/html-single/Deployment_Guide/index.html#Configuring_Secure_Shell_Access
6.7.6. Configuring Secure Shell Access
---
perl -p -i -e "s/^#MaxSessions .*$/MaxSessions 40/" /etc/ssh/sshd_config
perl -p -i -e "s/^#MaxStartups .*$/MaxStartups 40/" /etc/ssh/sshd_config
==>The "perl -p -i -e" commands here are the only ones like them in the doc, and it kinda sticks out. For consistency (the script changed long ago), these should be changed to use sed:
===
sed -i -e "s/^#MaxSessions .*$/MaxSessions 40/" /etc/ssh/sshd_config
sed -i -e "s/^#MaxStartups .*$/MaxStartups 40/" /etc/ssh/sshd_config
---


Actually, I just found one more:
https://access.redhat.com/site/documentation/en-US/OpenShift_Enterprise/2/html-single/Deployment_Guide/index.html#sect-Separating_Broker_Components_by_Host
5.8.3. Separating Broker Components by Host
5.8.3.2. MongoDB
---
perl -p -i -e "s/^bind_ip = .*$/bind_ip = 0.0.0.0/" /etc/mongodb.conf
==> should be
sed -i -e "s/^bind_ip = .*$/bind_ip = 0.0.0.0/" /etc/mongodb.conf
---


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