Consider what
SshClient.RunCommand()
does. It runs the command string given on the
remote system. This is the equivalent of typing
ssh user@remote scp -i /private/key/file /source/file user@connecting.com:/destinatin file
at the command line.
That's probably
not what you're trying to do. What you probably want to look into is
ScpClient Class[
^] which can be used to copy a file from the local system to the remote system.