Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 423ffca

Browse files
committed
travis: start sshd in container
1 parent 7c3f49a commit 423ffca

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

travis/run_tests.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@
44
# Copyright (c) 2019-2020, Postgres Professional
55
#
66

7+
sudo su -c 'apt-get update -y'
8+
sudo su -c 'apt-get install openssh-client openssh-server -y'
9+
/etc/init.d/ssh start
10+
11+
ssh-keygen -t rsa -q -N ""
12+
cat ~/.ssh/id_rsa.pub > ~/.ssh/authorized_keys
13+
ssh-keyscan -H localhost >> ~/.ssh/known_hosts
714

815
PG_SRC=$PWD/postgres
916

0 commit comments

Comments
 (0)