We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
My authprogs.yaml looks like this:
- from: [10.x.x.x] keynames: myhost allow: - rule_type: rsync allow_download: true paths: [/tmp/mycert.crt, /tmp/mycert.key] - rule_type: scp allow_download: true paths: [/tmp/mycert.crt, /tmp/mycert.key]
Transferring the file with scp root@myhost:/tmp/mycert.crt /tmp fails with the error command "scp -f /tmp/mycert.crt" rejected. The debug log shows:
command "scp -f /tmp/mycert.crt" rejected.
checking rule """{'from': ['10.x.x.x'], 'keynames': 'myhost', 'allow': [{'rule_type': 'rsync', 'allow_download': True, 'paths': ['/tmp/mycert.crt', '/tmp/mycert.key']}, {'rule_type': 'scp', 'allow_download': True, 'paths': ['/tmp/mycert.crt', '/tmp/mycert.key']}]}""" client_ip 10.x.x.x in 10.x.x.x/32 keyname "myhost" matches rule. skipping rsync processing, binary "scp" not in approved list skipping scp processing, binary "scp" not in approved list
If the rsync section is removed, i.e. config looks like this:
- from: [10.x.x.x] keynames: myhost allow: - rule_type: scp allow_download: true paths: [/tmp/mycert.crt, /tmp/mycert.key]
Everything works as it should and the file can be transferred. Could you please investigate this bug?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
My authprogs.yaml looks like this:
Transferring the file with scp root@myhost:/tmp/mycert.crt /tmp fails with the error
command "scp -f /tmp/mycert.crt" rejected.
The debug log shows:
If the rsync section is removed, i.e. config looks like this:
Everything works as it should and the file can be transferred. Could you please investigate this bug?
The text was updated successfully, but these errors were encountered: