Skip to content

Starting a Session (Customer Container)

Run these right after connecting to an already-deployed customer container, before starting work.

source ~/venv/aws/bin/activate
ansible-playbook playbooks/load-ssh-key.yml
gh auth status &>/dev/null || gh auth login
# Azure Files is world-writable: git flags it as unsafe, and Ansible silently
# ignores a world-writable ansible.cfg unless pointed to explicitly.
export ANSIBLE_CONFIG=./ansible.cfg
git config --global --add safe.directory '*'
source ~/venv/azure/bin/activate
ansible-playbook playbooks/load-ssh-key.yml
gh auth status &>/dev/null || gh auth login

No cloud secrets manager available? Use the vault route instead: ansible-playbook playbooks/load-ssh-key-vault.yml -e @extra_vars/ssh_key.yml.

Verify:

ssh-add -l

See SSH Authentication → Overview if the key fails to load, or Containers for access-mode details.