Archive for January 15, 2010

How To scp, ssh and rsync without prompting for password

How To scp, ssh and rsync without prompting for password

Whenever you need to use scp to copy files, it asks for passwords. Same with rsync as it (by default) uses ssh as well. Usually scp and rsync commands are used to transfer or backup files between known hosts or by the same user on both the hosts. It can get really annoying the password is asked every time. I even had the idea of writing an expect script to provide the password. Of course, I didn’t. Instead I browsed for a solution and found it after quite some time. There are already a couple of links out there which talk about it. I am adding to it… More >

Javascript confirm Yes/No

Use a javascript confirm box to ask the user if they want to delete
More >

Rsync Examples Scripts

http://www.mikerubel.org/computers/rsync_snapshots/

https://calomel.org/rsync_tips.html

http://rootprompt.org/article.php3?article=8976

http://www.comentum.com/rsync.html