HP-UX Compartment Login Using Secure Shell (SSH)
1
Compartment Login Using Secure Shell (SSH)
Executive Summary .............................................................................................................................. 2
Background ........................................................................................................................................ 2
Compartments ................................................................................................................................. 2
HP-UX Role-Based Access Control (HP-UX RBAC).................................................................................. 2
Configuring SSH for Compartment Login ................................................................................................ 2
Configure compartments for SSH ....................................................................................................... 3
Define a Dedicated Physical or Logical Interface for Each Compartment ................................................. 3
Network Configuration Considerations ........................................................................................... 4
Configuring Multiple Instances of SSH ................................................................................................ 4
Multi-intance sshd_config............................................................................................................... 4
Starting sshd in the Appropriate Compartment ............................................................................... 5
Running sshd in the INIT Compartment............................................................................................ 6
Configuring User Compartment Login Access Restrictions...................................................................... 6
Making the Configuration Persist Across System Reboot........................................................................ 6
Summary ............................................................................................................................................ 7
References .......................................................................................................................................... 7
Appendix A – Sample compartment definition for sshd............................................................................. 8
Appendix B – Sample sshd_config file.................................................................................................. 10
Appendix C – Sample /sbin/init.d/secsh.cmpt RC script........................................................................ 13










