Net::SCP.download!" is getting a password prompt for RHEL 8 hosts.
But if directly execute scp command to download the same file from the same host the password is not needed.
We already do below setting on the host:
copied id_rsa.pub to authorized keys to avoid password prompt
added config file to avoid HostKeyChecking prompt:
Host *
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
LogLevel QUIET
Could anyone help to how to fix this issue?
We are using version v3.0.0
Net::SCP.download!" is getting a password prompt for RHEL 8 hosts. But if directly execute scp command to download the same file from the same host the password is not needed. We already do below setting on the host:
Could anyone help to how to fix this issue? We are using version v3.0.0