in reply to scp output without having to use "Net::SCP" in Perl
What exactly is in $output? It could be being mistaken for an argument to scp.
Try hard setting all the system() arguments manually to their actual values, and go from there. For instance, this works for me:
perl -e '$o="this.fil"; system("/usr/bin/scp", $o, "steve\@hostname:/h +ome/steve/");'
-stevieb
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: scp output without having to use "Net::SCP" in Perl
by pjzero@90 (Novice) on Jun 02, 2015 at 22:20 UTC | |
by salva (Canon) on Jun 03, 2015 at 07:38 UTC | |
by sierpinski (Chaplain) on Jun 03, 2015 at 01:46 UTC | |
by pjzero@90 (Novice) on Jun 03, 2015 at 23:10 UTC | |
by GotToBTru (Prior) on Jun 04, 2015 at 14:59 UTC |