Hello, It is relatively simple to replace ftp with scp or even rsync over ssh/scp.. You can use as an authentication method ssh key with ssh agent locked for one process only (that is to prevent anyone else from using the key to connect to the remote server) This should help: http://mah.everybody.org/docs/ssh Kind Regards, -- Paul Preston Proxar IT Ltd. Registered in England and Wales: 6744401- VAT: 942985479 Tubs Hill House, London Road, Sevenoaks, Kent, TN13 1BL Tel: (+44) 01732 463 858 Fax: (+44) 01732 459 423 Web: www.proxar.co.uk Email: paul.preston@xxxxxxxxxxxx -----Original Message----- From: redhat-list-bounces@xxxxxxxxxx [mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of a bv Sent: 16 December 2010 10:10 To: redhat-list@xxxxxxxxxx Subject: using scp bash script Hi, I want to convert my simple bash scripts using ftp to use scp fo the aim of providing security. especially if i dont want to provide my password on my cleartext on my script how can i write this scp part on script? Regards -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list Please note that we may monitor or record telephone calls, email traffic data and also the content of email for the purposes of security and staff training. This message (and any associated files or documentation) is intended only for the use of the individual or entity to whom it is addressed and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this message, or files and documentation associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company. -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list