Results 1 to 4 of 4
Hi,
Newbie here.
I wold like to copy one file to all directories on a server using ssh.
Could you help with this please.
Thanks...
- 10-24-2006 #1Just Joined!
- Join Date
- Oct 2006
- Posts
- 2
copy command question ?
Hi,
Newbie here.
I wold like to copy one file to all directories on a server using ssh.
Could you help with this please.
Thanks
- 10-24-2006 #2
I would use rsync, scp, or sftp.
Flies of a particular kind, i.e. time-flies, are fond of an arrow.
Registered Linux User #408794
- 10-24-2006 #3Just Joined!
- Join Date
- Oct 2006
- Posts
- 2
Thanks for the quick respond but I'm looking for command line parameters which should automate this process.
There are many directories on this server.
P.S.
This file is located on the server.
Thanks
- 10-25-2006 #4Just Joined!
- Join Date
- Oct 2006
- Posts
- 4
Originally Posted by darik
$scp user@machine1.com:/your_file user@anothermachine.com
you can automate password-verification process by exchanging ssh public-keys (see authorized_keys in man pages)
--
Vladimir
http://unix-news.blogspot.com


Reply With Quote