- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Writing a script for single file transfer to a...
Operating System - HP-UX
1755130
Members
2823
Online
108830
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-25-2002 09:43 PM
тАО07-25-2002 09:43 PM
Re: Writing a script for single file transfer to all servers
Hi Evans,
If you want to do this in a secure/trusted environment, install OpenSSH on all systems and create a common user with limited rights. Next switch to this user and create a public/private key pair, and distribute the public part to all hosts. Now you can ssh or scp to all of the systems, as this user, but without requiring a password. This gets over all the ".rhosts" type security problems and gives you an encrypted file transfer and remsh.
I use an unpriviledged user to transfer the files, then have a cron job that backs up certain system files before installing the new ones. This not only prevents a hacker from sending anything, but my script provides an audit trail.
If you want to do this in a secure/trusted environment, install OpenSSH on all systems and create a common user with limited rights. Next switch to this user and create a public/private key pair, and distribute the public part to all hosts. Now you can ssh or scp to all of the systems, as this user, but without requiring a password. This gets over all the ".rhosts" type security problems and gives you an encrypted file transfer and remsh.
I use an unpriviledged user to transfer the files, then have a cron job that backs up certain system files before installing the new ones. This not only prevents a hacker from sending anything, but my script provides an audit trail.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-25-2002 10:39 PM
тАО07-25-2002 10:39 PM
Re: Writing a script for single file transfer to all servers
Why play around with scripts and remsh and permission problems.
You could easily perfom this task and keep synchronized copies of files on all your servers use the rdist command
See: man rdist
Regards
Rainer
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-26-2002 05:20 AM
тАО07-26-2002 05:20 AM
Re: Writing a script for single file transfer to all servers
You could use Service Control Manager to accomplish this (it's free too).
http://www.software.hp.com/NSM_products_list.html
http://www.docs.hp.com/hpux/netsys/index.html#ServiceControl%20Manager
http://www.software.hp.com/NSM_products_list.html
http://www.docs.hp.com/hpux/netsys/index.html#ServiceControl%20Manager
- « Previous
-
- 1
- 2
- Next »
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP