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

8 lines
169 B
Bash
Raw Normal View History

2022-12-04 09:08:26 +03:00
#!/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