Afficher un message
Vieux 11/09/2007, 15h23   #7
gerry.brennan@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to foce SCP to create a directory ?????????????

On 10 Sep, 19:55, Nico <nka...@gmail.com> wrote:
> On 10 Sep, 14:57, gerry.bren...@gmail.com 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/


rsync is not available on the machine

  Réponse avec citation
 
Page generated in 0,05316 seconds with 9 queries