Re: How to foce SCP to create a directory ?????????????



On Sep 10, 3:08 pm, "K. Jennings" <kjenni...@xxxxxxxxxxxxxx> wrote:
On Mon, 10 Sep 2007 06:57:54 -0700, gerry.brennan wrote:
Is there a way to force scp to create a directory if it does not exist
when copying a file remotely

scp -o stricthostkeychecking=no -oCiphers=aes128-cbc ~/.ssh/
authorized_keys ring1@$hostname:~/.ssh/authorized_keys

Have you tried with -r?

yes I have tried

scp -r -o stricthostkeychecking=no -oCiphers=aes128-cbc ~/.ssh/
authorized_keys ring1@$hostname:~/.ssh/authorized_keys

No joy

.