#!/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
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 25529 | Robert Cowham |
Latest copy of files including docker compose setup. Merging //guest/robert_cowham/p4benchmark/pb/... to //guest/robert_cowham/p4benchmark/main/... |
||
//guest/robert_cowham/p4benchmark/pb/utils/setup_ssh.sh | |||||
#1 | 25517 | Robert Cowham | Docker compose nearly there |