- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ssh and DR site
Operating System - HP-UX
1752756
Members
5079
Online
108789
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-07-2010 11:33 AM
тАО07-07-2010 11:33 AM
ssh and DR site
Is there any way easy way to propigate ssh keys for users to another system in case of a disaster at primary site. Initially was thinking to just copy authorized_keys files to other system for INCOMING feeds. For outgoing probably harder to do - maybe change the DNS name to same from old offline machine and move local key files to DR node - not sure if that would really work though. THanks
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2010 01:02 PM
тАО07-07-2010 01:02 PM
Re: ssh and DR site
For the non-root users, they can share the pub and private keys.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2010 02:13 PM
тАО07-07-2010 02:13 PM
Re: ssh and DR site
You haven't given us the full picture but, assuming each user, including root, on the "Live" server has a unique login, then all you need do is ensure that the contents of each user's .ssh directory are kept in sync between the "Live" and "DR" servers.
We use a cron job, running on the "DR" server to do this every night. The job also creates new logins, and deletes old logins as they change on the "live" server.
The main problem is with connections from other hosts - if the known_hosts files on those hosts are not pre-populated then each user will be required to confirm the connection to the DR server the first time it is attempted. This is not a big deal for humans - but will cause automated processes to hang or fail. You can avoid this by ensuring that the server host keys are the same in both Live and DR - and then switch the DNS record when you fail over.
We use a cron job, running on the "DR" server to do this every night. The job also creates new logins, and deletes old logins as they change on the "live" server.
The main problem is with connections from other hosts - if the known_hosts files on those hosts are not pre-populated then each user will be required to confirm the connection to the DR server the first time it is attempted. This is not a big deal for humans - but will cause automated processes to hang or fail. You can avoid this by ensuring that the server host keys are the same in both Live and DR - and then switch the DNS record when you fail over.
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