1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2026-06-21 01:34:15 +02:00

travis: start sshd in container

This commit is contained in:
Grigory Smolkin
2021-06-17 21:23:34 +03:00
parent 7c3f49a7eb
commit 423ffcaf38
+7
View File
@@ -4,6 +4,13 @@
# Copyright (c) 2019-2020, Postgres Professional
#
sudo su -c 'apt-get update -y'
sudo su -c 'apt-get install openssh-client openssh-server -y'
/etc/init.d/ssh start
ssh-keygen -t rsa -q -N ""
cat ~/.ssh/id_rsa.pub > ~/.ssh/authorized_keys
ssh-keyscan -H localhost >> ~/.ssh/known_hosts
PG_SRC=$PWD/postgres