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

SCP method is not longer working #3074

Closed
kvaps opened this issue Mar 13, 2019 · 1 comment

Comments

@kvaps
Copy link
Contributor

commented Mar 13, 2019

Description
There was fixed vulnerability in scp:
openbsd/src@4667d15

Now it is refusing copy of . with the next message

scp: error: unexpected filename: .

More details here:
https://superuser.com/questions/1403473/scp-error-unexpected-filename

To Reproduce

  • Install openssh-server=1:7.6p1-4ubuntu0.3
  • Run onehost sync -f
* Adding host to upgrade
[========================================] 1/1 host                             
Failed to update the following hosts:
* host

Log says:

[Z0][InM][I]: Command execution failed (exit code: 1): scp -rp /var/lib/one/remotes/. host:/var/tmp/one
[Z0][InM][I]: scp: error: unexpected filename: .
[Z0][ONE][E]: Error monitoring Host host (4): -
[Z0][InM][I]: Command execution failed (exit code: 42): 'if [ -x "/var/tmp/one/im/run_probes" ]; then /var/tmp/one/im/run_probes kvm /var/lib/one//datastores 32124 60 1 host; else                              exit 42; fi'

Expected behavior
The host will be synced.

Details

  • Affected Component: Core
  • Hypervisor: KVM
  • Version: 5.6.1
  • Ubuntu bionic

Additional context
Add any other context about the problem here.

Progress Status

  • Branch created
  • Code committed to development branch
  • Testing - QA
  • Documentation
  • Release notes - resolved issues, compatibility, known issues
  • Code committed to upstream release/hotfix branches
  • Documentation committed to upstream release/hotfix branches
@kvaps

This comment has been minimized.

Copy link
Contributor Author

commented Mar 13, 2019

Already fixed, I see 320a8c2

@kvaps kvaps closed this Mar 13, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.