Is it possible to do this:
ssh user@socket command /path/to/file/on/local/machine
That is to say, I want to execute a remote command using a local file in one step, without first using scp to copy the file.
|
Is it possible to do this:
That is to say, I want to execute a remote command using a local file in one step, without first using |
|||
|
|
You missed just one symbol =)
|
|||||||||||||
|
|
One way that works regardless of the command is to make the file available on the remote machine via a remote filesystem. Since you have an SSH connection:
|
|||
|
|