You are not logged in.
Hello,
I have many rsync operation that i d regulary and all combined in one script but the problem is that i have more then 10+ password request because i rsync using ssh.. is there any way to rsync (ssh or not) by asking a pass one time, or better never ask ?
rsync commands look like this:
rsync -avuz --delete /home/wael/Files/Repo/wael/ root@server:/var/www/virtual/nasreddine.com/wael/htdocs/files/arch/repo/wael/
[My Blog] | [My Repo] | [My AUR Packages]
Offline
no asky is easy. Just create an ssh key, with no passphrase. then use keybased auth (copy your key.pub to remote site's ~/.ssh/authorized_keys
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
I found out another way by using rsync daemon on server, not secure as much ssh is, but anyway ports are closed for external access, only within my private network
[My Blog] | [My Repo] | [My AUR Packages]
Offline
Thanks for the key-based hint, I never knew about that in ssh so thanks man , works great
[My Blog] | [My Repo] | [My AUR Packages]
Offline