mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-01 00:03:10 +00:00
Enable paramiko connection tests on RHEL 8.0.
This commit is contained in:
@@ -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}")
|
||||
|
||||
Reference in New Issue
Block a user