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



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?


.