Just for fun, I also tried the latest openssh-client that we have in Jammy and see it works too -
# wget https://launchpad.net/ubuntu/+archive/primary/+files/openssh-client_8.9p1-3ubuntu0.7_amd64.deb # dpkg -i ./openssh-client_8.9p1-3ubuntu0.7_amd64.deb # scp root@localhost:/sys/firmware/efi/efivars/BootOrder-8be4df61-93ca-11d2-aa0d-00e098032b8c . root@localhost's password: BootOrder-8be4df61-93ca-11d2-aa0d-00e098032b8c 100% 20 27.4KB/s 00:00 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2069305 Title: scp fails to copy files from sysfs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/2069305/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs