* SSH home container permissions issue
@ 2024-01-24 20:30 TakeV
0 siblings, 0 replies; only message in thread
From: TakeV @ 2024-01-24 20:30 UTC (permalink / raw)
To: help-guix
[-- Attachment #1: Type: text/plain, Size: 1493 bytes --]
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?
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-01-24 20:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-24 20:30 SSH home container permissions issue TakeV
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).