FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Red Hat Linux

 
 
LinkBack Thread Tools
 
Old 12-16-2010, 09:10 AM
a bv
 
Default 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@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 
Old 12-16-2010, 09:34 AM
Paul Preston
 
Default using scp bash script

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@proxar.co.uk


-----Original Message-----
From: redhat-list-bounces@redhat.com [mailto:redhat-list-bounces@redhat.com] On Behalf Of a bv
Sent: 16 December 2010 10:10
To: redhat-list@redhat.com
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@redhat.com?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@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 
Old 12-18-2010, 06:41 AM
Shariq Siddiqui
 
Default using scp bash script

Hello,

You need to generate SSH-KEYS for this first for the source/Destination systems.
once you login correctly then it will not ask for the password while script runs
in future.
this is the answer according to my understanding from your question.


Best Regards,

Shariq Siddiqui






________________________________
From: a bv <vbavbalist@gmail.com>
To: redhat-list@redhat.com
Sent: Thu, December 16, 2010 1:10:26 PM
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@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list




--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 

Thread Tools




All times are GMT. The time now is 01:17 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org