help-ssh-setkey¶
- Intent
- Help to set ssh keys into machine via drp-provision as presented in the drp-set-sshkey-video (youtube).
- Success
- Install a demo machine locally that can be accessed via ssh key (no password) as required by ansible.
Manual Steps
Assuming a drpfeature-test-network with drpfeature-test-vbox running the drpfeature-test-drpe setup.
Obtain or generate id_rsa.pub file ( see CentOS-Generate-ssh-key-pair )
- Open RackN-Portal Profiles -> global
- Edit Profiles -> global
Add PARAMETERS: access-keys
{ "user": "ssh-rsa CAFE123 user@machine" }
Change string to add id_rsa.pub of user “drpops
{ “drpops”: “ssh-rsa AAAABblahblahblah..9n31 drpops@drpe.drpfeature.test” }
Add PARAMETERS: access-ssh-root-mode
Add string “without-password”
Click “Save” of Profiles -> global Edit view.
The machines using the global profile grant ssh to the id_rsa.pub ssh requests.
Video Track
- tc60 Open RackN-Portal endpoint Profiles -> global
- tc60 Show default Profiles -> global
- tc70 Show example ce-root-access Profiles -> ce-root-access
- tc80 Edit Profiles -> global
- tc86 Add PARAMETERS access-keys
- { “user”: “ssh-rsa CAFE123 user@machine” }
- tc95 BUT Change string to add id_rsa.pub of user “drpops
- { “user”: “ssh-rsa AAAABblahblahblah..9n31 drpops@drpe.drpfeature.test” }
- tc122 Add PARAMETERS: access-ssh-root-mode
- tc129 Add string “without-password”
- tc130 Click “Save” of Profiles -> global Edit view.
- tc156 Reboot machine to test.
- tc170 Show RackN-Portal endpoint Templates
- tc175 Show RackN-Portal endpoint Boot Enviroments
- tc294 Show ssh login success
Video
Setup for testing drp endpoint
drpfeature-test setup uses the drpfeature-test-network and drpfeature-test-vbox running on a drpfeature-test-macosx with drp-provision running on the drpfeature-test-drpe endpoint for pxe boot of Proliant Blade servers in drpfeature-test-hpeC7000 configuration which then are assessable via drpfeature-test-drpe-ansible and can use drpfeature-test-drpe-ansible-blender to install a blender render grid worker node.
Endpoint Menu System of a RackN-Portal
- Networking
- Provision
- Syncronize & Upload