Re: How to foce SCP to create a directory ?????????????
- From: Nico <nkadel@xxxxxxxxx>
- Date: Mon, 10 Sep 2007 11:55:04 -0700
On 10 Sep, 14:57, gerry.bren...@xxxxxxxxx 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
gerb
I think you should either send a preliminary "mkdir" command, or use
rsync something like this:
rsync -avv --include=authorized_keys -e 'ssh -o
stricthostkeychecking=no -oCiphers=aes128-cbc' ~/.ssh/ ring1@
$hostname:.ssh/
.
- Follow-Ups:
- Re: How to foce SCP to create a directory ?????????????
- From: gerry . brennan
- Re: How to foce SCP to create a directory ?????????????
- References:
- How to foce SCP to create a directory ?????????????
- From: gerry . brennan
- How to foce SCP to create a directory ?????????????
- Prev by Date: Re: How to foce SCP to create a directory ?????????????
- Next by Date: Re: SSH trampoline leaves processes running.
- Previous by thread: Re: How to foce SCP to create a directory ?????????????
- Next by thread: Re: How to foce SCP to create a directory ?????????????
- Index(es):
Relevant Pages
|