Files
pg_probackup/travis/before-script-user.sh

8 lines
169 B
Bash
Executable File

#!/usr/bin/env bash
set -xe
ssh-keygen -t rsa -f ~/.ssh/id_rsa -q -N ""
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
ssh-keyscan -H localhost >> ~/.ssh/known_hosts