Closed Gooseus closed 9 years ago
What I'm trying to do is to SCP a directory using a privatekey.
I can configure the low-level Client with the key, but then I can't upload directories.
If I try to use the high-level scp method which states directory support, it doesn't seem to let me add a privatekey anywhere.
apparently you can pass the privateKey and passphrase parameters in the destination object (2nd parameter) of the SCP method. I assume you could do the same for source object when copying from remote as well
What I'm trying to do is to SCP a directory using a privatekey.
I can configure the low-level Client with the key, but then I can't upload directories.
If I try to use the high-level scp method which states directory support, it doesn't seem to let me add a privatekey anywhere.