mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 22:33:25 +00:00
Enable paramiko connection tests on RHEL 8.0.
This commit is contained in:
@@ -1,3 +1,2 @@
|
|||||||
needs/ssh
|
needs/ssh
|
||||||
shippable/posix/group3
|
shippable/posix/group3
|
||||||
skip/rhel8.0
|
|
||||||
|
|||||||
@@ -98,7 +98,7 @@ fi
|
|||||||
# We also need to add localhost's server keys to known_hosts.
|
# We also need to add localhost's server keys to known_hosts.
|
||||||
|
|
||||||
if [ ! -f "${HOME}/.ssh/id_rsa.pub" ]; then
|
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"
|
cp "${HOME}/.ssh/id_rsa.pub" "${HOME}/.ssh/authorized_keys"
|
||||||
for key in /etc/ssh/ssh_host_*_key.pub; do
|
for key in /etc/ssh/ssh_host_*_key.pub; do
|
||||||
pk=$(cat "${key}")
|
pk=$(cat "${key}")
|
||||||
|
|||||||
Reference in New Issue
Block a user