So, I’m doing some compliance work for a customer (not PCI, but similar), and one thing we decided was to use scp to upload and download large files from a central fileserver. This way we don’t have to worry about opening any more holes in firewalls (because ssh already has to be open), no additional Pandoras Boxes, etc…

The download works fine. But when I’m trying to upload the results of the scan, it bombs out. The weird thing is that the code uses Mixlib::ShellOut to go find the file in question just a few lines above, but then Net:Scp craps out.

So, I’m doing some compliance work for a customer (not PCI, but similar), and one thing we decided was to use scp to upload and download large files from a central fileserver. This way we don’t have to worry about opening any more holes in firewalls (because ssh already has to be open), no additional Pandoras Boxes, etc…

The download works fine. But when I’m trying to upload the results of the scan, it bombs out. The weird thing is that the code uses Mixlib::ShellOut to go find the file in question just a few lines above, but then Net:Scp craps out.

So, I’m doing some compliance work for a customer (not PCI, but similar), and one thing we decided was to use scp to upload and download large files from a central fileserver. This way we don’t have to worry about opening any more holes in firewalls (because ssh already has to be open), no additional Pandoras Boxes, etc…

The download works fine. But when I’m trying to upload the results of the scan, it bombs out. The weird thing is that the code uses Mixlib::ShellOut to go find the file in question just a few lines above, but then Net:Scp craps out.