1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2025-03-19 21:38:02 +02:00
pg_probackup/travis/before-script-user.sh
2022-12-04 14:16:02 +03:00

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