HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- file transfers via scp
Operating System - HP-UX
1836596
Members
3080
Online
110102
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
Forums
Discussions
Discussions
Discussions
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
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
01-17-2005 09:09 AM
01-17-2005 09:09 AM
file transfers via scp
Hi all:
HPUX 11.11 on rp7410
My predessor had set up many scripts, mostly in cron, to transfer files from 1 host to another. This process had been done via rcp and the root account had .rhosts on all systems.
I want away from this. I have installed SSH and did some configurations. One config I have is no deny root logins via SSH.
This poses a problem as the files being transfered are root owned files.
How can root transfer these files via SSH utilities? Most of these transfers are via cron so the passwd is not readily available at Oh-GOD-thirty in the morning.
Many thanks!
HPUX 11.11 on rp7410
My predessor had set up many scripts, mostly in cron, to transfer files from 1 host to another. This process had been done via rcp and the root account had .rhosts on all systems.
I want away from this. I have installed SSH and did some configurations. One config I have is no deny root logins via SSH.
This poses a problem as the files being transfered are root owned files.
How can root transfer these files via SSH utilities? Most of these transfers are via cron so the passwd is not readily available at Oh-GOD-thirty in the morning.
Many thanks!
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2005 11:35 AM
01-17-2005 11:35 AM
Re: file transfers via scp
public-key authentication eliminates the need for passwords, unless the private key is symmetrically enciphered with a passphrase.
The source files may be owned by root, but do the target files need to be also? If not, have root scp to a non-root account that authorizes by public-key.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2005 06:49 PM
01-17-2005 06:49 PM
Re: file transfers via scp
You can also "scp" using public-keys between to non-privileged users then have a later cron job move and modify the ownerships and permissions of the files. In this way your script can do such things as make a backup of the original file and do some lexical scanning to ensure that a trojan file has not been introduced.
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.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP