I am trying to test out ssh in a home container, but there is some odd behavior when it tries to read the config.
The commands I used:
takev@gaba ~/guix/home$ guix home container -N config.scm takev@gaba ~$ ssh [redacted] Bad owner or permissions on /home/takev/.ssh/config
Looking at the permissions on that file, and the weird thing is that both authorized_keys and config appear to be identical to the working version I have outside of the container: Container version:
takev@gaba ~$ ls -al .ssh/ total 0 drwx------ 2 takev users 80 Jan 24 20:03 ./ drwxr-xr-x 7 takev users 260 Jan 24 20:03 ../ lrwxrwxrwx 1 takev users 59 Jan 24 20:03 authorized_keys -> /gnu/store/vs9xkamzjpj5dmvxgpw58dj3ykrw1h1l-authorized_keys lrwxrwxrwx 1 takev users 52 Jan 24 20:03 config -> /gnu/store/q1vgzvlz5ksn0q6mx2nvxj1i0m6adh60-ssh.conf
Live version:
takev@gaba ~/guix/home$ ls -al ~/.ssh/ total 32 drwx------ 2 takev users 4096 Jan 24 15:12 ./ drwx------ 84 takev users 4096 Jan 24 15:12 ../ lrwxrwxrwx 1 takev users 59 Jan 24 15:12 authorized_keys -> /gnu/store/vs9xkamzjpj5dmvxgpw58dj3ykrw1h1l-authorized_keys lrwxrwxrwx 1 takev users 52 Jan 24 15:12 config -> /gnu/store/q1vgzvlz5ksn0q6mx2nvxj1i0m6adh60-ssh.conf -rw------- 1 takev users 419 Jun 4 2021 id_ed25519 -rw-r--r-- 1 takev users 108 Jun 4 2021 id_ed25519.pub -rw------- 1 takev users 13722 Jan 23 10:59 known_hosts
Is this a bug, or is there some sort of setting I need to set?
signature.asc
Description: PGP signature