Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][tlug] Multiple scp targets?
- Date: Wed, 10 Nov 2010 18:31:00 +0900
- From: Darren Cook <darren@example.com>
- Subject: [tlug] Multiple scp targets?
- User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.15) Gecko/20101027 Thunderbird/3.0.10
I have a batch file that does something like this: scp file1 file2 host1:/target/path1/ scp file1 file2 host1:/target/path2/ The downside is it asks me the password twice. As I'm about to increase that to 4 or more target paths I'm thinking there must be another way. Any suggestions? Is there scp syntax to support this? Or a way to remember the password? (but securely!) I'm reluctant to use key-login for this; I like having to type a password, as I have a different password for each machine, and I've sometimes caught a typo with wrong target machine this way. And it feels a bit more secure. My final idea is to keep file1,file2, etc. in an svn repository. Check them in, then ssh to host1 and run a script that does "svn update" in each directory. But it took me ages to get svn working for people outside my LAN before, all that tedious firewall config, user creation, etc.; I'm also concerned how I properly partition for security purposes. (I.e. I've got userX can access /var/svn/project1/, but I'm not sure there is anything to stop them accessing /var/svn/project2/ ) Perhaps I just need to find a good svn tutorial? Thanks for listening, and your thoughts are welcome, Darren -- Darren Cook, Software Researcher/Developer http://dcook.org/gobet/ (Shodan Go Bet - who will win?) http://dcook.org/work/ (About me and my work) http://dcook.org/blogs.html (My blogs and articles)
- Follow-Ups:
- Re: [tlug] Multiple scp targets?
- From: Edmund Edgar
- [tlug] Multiple scp targets?
- From: Stephen J. Turnbull
- Re: [tlug] Multiple scp targets?
- From: Romeo Theriault
Home | Main Index | Thread Index
- Prev by Date: [tlug] 55th Tokyo VoIP and Asterisk Lounge - Nov 11th
- Next by Date: Re: [tlug] Multiple scp targets?
- Previous by thread: [tlug] 55th Tokyo VoIP and Asterisk Lounge - Nov 11th
- Next by thread: Re: [tlug] Multiple scp targets?
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links