I want transfer file daily to remote machine daily using cronjob. 

This can achieved via ftp (with the code below) but my concern is on the
security site. Anyone can sniff and get my username and password of my
ftp server.

After doing some research I found out that I need use rsync over
ssh/sftp to achive via a secure tunnel. 

To my understanding I need create public key and copy this over to the
other server so that when ssh it will not prompt for password. 

Is this approach secure? Can another machine masquerade as the trusted
host?

# current ftp cron job with cleartext password which is unsecure
#!/bin/sh

cd /home/ftp/
ftp -inv <<!
open 192.168.0.117
user ganesh 123456
bin
put global.php
exit

Regards,
Ganesan




-------------------------------------------------------
This SF.net email is sponsored by OSDN's Audience Survey.
Help shape OSDN's sites and tell us what you think. Take this
five minute survey and you could win a $250 Gift Certificate.
http://www.wrgsurveys.com/2003/osdntech03.php?site=8
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to