Skip to content

Latest commit

 

History

History
65 lines (43 loc) · 1.06 KB

ACCESS.md

File metadata and controls

65 lines (43 loc) · 1.06 KB

Remote Access

Remote access info

SSH Host Access

You can gain remote access to the lab via ssh public keys.

You will need to generate an ssh keypair

ssh-keygen -t ed25519 -C "[email protected]"

Setup access to the following:

  • User: ansible
  • Host: bastion.hou.edgelab.online

Git related files

files/pubkeys/<username>

Create this file to contain public keys for user

ssh-rsa AAAAB...== [email protected]

inventory/group_vars/all/vars

Add (github) username's public ssh key to the ssh group example

ssh_config_authorized_keys:
  example:
  - '{{ lookup("file", playbook_dir + "/../files/pubkeys/username") }}'

Defines default ssh desired group of public keys to install

desired_groups:
- redhat
- example

See also collection/roles/setup_ssh/defaults/main.yml

inventory/group_vars/bastion/configured/vars

Defines the user ansible is being configured on host bastion

ssh_config_users:
- ansible

desired_groups:
- redhat
- example