Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to input password on RHEL 8 while it shouldn't #69

Open
andy-yu-y opened this issue Aug 11, 2023 · 0 comments
Open

Need to input password on RHEL 8 while it shouldn't #69

andy-yu-y opened this issue Aug 11, 2023 · 0 comments

Comments

@andy-yu-y
Copy link

andy-yu-y commented Aug 11, 2023

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:

  1. copied id_rsa.pub to authorized keys to avoid password prompt
  2. 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant