Auto send password

Whether you are using Linux on the desktop or as a server, it's still good that you're using Linux. Linux related questions go here.

Moderator: General Moderators

Post Reply
User avatar
shiznatix
DevNet Master
Posts: 2745
Joined: Tue Dec 28, 2004 5:57 pm
Location: Tallinn, Estonia
Contact:

Auto send password

Post by shiznatix »

I have a bash script that I run to rsync my dev server with my live server. It works very well and I am super happy with it. The only problem is that since it is using ssh to send the files I have to type in my password twice for the 2 folders that I sync and its a long password that is easy to mess up. So what I want to be able to do is have my bash script send the password automatically whenever it is asked for it instead of having me type it in. Is there any way to do this?
jeffery
Forum Contributor
Posts: 105
Joined: Mon Apr 03, 2006 3:13 am
Location: Melbourne, Australia
Contact:

Post by jeffery »

Post Reply