in reply to Re^2: scp recommendations
in thread scp recommendations
But the SSH protocol accepts only a single command string, ssh joins everything in one line and the command arrives at the remote machine as...system('ssh', 'scp', '-t', @args)
And it is called through the shell. That's why @args has to be escaped in order to avoid the remote shell doing unexpected things.system("scp -t @args")
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: scp recommendations
by ikegami (Patriarch) on Aug 02, 2010 at 03:51 UTC | |
by salva (Canon) on Aug 02, 2010 at 07:38 UTC | |
by ikegami (Patriarch) on Aug 02, 2010 at 09:15 UTC |