1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Enable paramiko connection tests on RHEL 8.0.

This commit is contained in:
Matt Clay 2019-01-23 14:19:54 -08:00
parent d2a7cc0b9f
commit 215b27eb10
2 changed files with 1 additions and 2 deletions

View file

@ -1,3 +1,2 @@
needs/ssh
shippable/posix/group3
skip/rhel8.0

View file

@ -98,7 +98,7 @@ fi
# We also need to add localhost's server keys to known_hosts.
if [ ! -f "${HOME}/.ssh/id_rsa.pub" ]; then
ssh-keygen -q -t rsa -N '' -f "${HOME}/.ssh/id_rsa"
ssh-keygen -m PEM -q -t rsa -N '' -f "${HOME}/.ssh/id_rsa"
cp "${HOME}/.ssh/id_rsa.pub" "${HOME}/.ssh/authorized_keys"
for key in /etc/ssh/ssh_host_*_key.pub; do
pk=$(cat "${key}")