elemental
elemental copied to clipboard
SSH `github`/`gitlab` auth not working after install
Using the following config.yaml I can ssh into the machine during the install, but not after. (It asks for passwd). Why?
#cloud-config
rancherd:
role: cluster-init
# See https://rancher-sandbox.github.io/cos-toolkit-docs/docs/reference/cloud_init/ for a full syntax reference
stages:
initramfs:
- users:
jsundqvist:
network:
- authorized_keys:
jsundqvist:
- github:jsundqvist
EDIT: Same for gitlab
I added shell and homedir to my user according to https://github.com/rancher-sandbox/os2/issues/13:
users:
jsundqvist:
shell: '/bin/bash'
homedir: '/home/jsundqvist'
While that solved the issue of not finding the homedir during the install, I still cannot ssh when booted from the installation without the ISO.
no further reports, closing