#!/bin/bash # This script sets up ssh for use within container mkdir /p4/.ssh mv /tmp/insecure_ssh_key.pub /p4/.ssh/authorized_keys mv /tmp/insecure_ssh_key /p4/.ssh/id_rsa cat << EOF > /p4/.ssh/config Host * StrictHostKeyChecking no UserKnownHostsFile /dev/null User perforce LogLevel QUIET EOF chown -R perforce:perforce /p4/.ssh chmod 700 /p4/.ssh chmod 644 /p4/.ssh/authorized_keys chmod 400 /p4/.ssh/id_rsa chmod 400 /p4/.ssh/config
|#1||25245||C. Thomas Tyler||
Released SDP 2019.1.25238 (2019/03/02).
Copy Up using 'p4 copy -r -b perforce_software-sdp-dev'.
Changes to docker files as part of prep for multi-container work
Centos6 & 7 now install python 3.6 from ISU Community as pre-built
Refer to p4python==17.2 to avoid need to compile
Changes to test infrastructure only
|#1||23433||Robert Cowham||Got it working with basic ssh stuff if sshd run manually on a box|