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:
parent
d2a7cc0b9f
commit
215b27eb10
2 changed files with 1 additions and 2 deletions
|
@ -1,3 +1,2 @@
|
|||
needs/ssh
|
||||
shippable/posix/group3
|
||||
skip/rhel8.0
|
||||
|
|
|
@ -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}")
|
||||
|
|
Loading…
Reference in a new issue