GNU bug report logs -
#57217
home-openssh-service-type creates .ssh/config with wrong permissions
Previous Next
Reported by: Elias Kueny <elias.kueny <at> posteo.net>
Date: Sun, 14 Aug 2022 22:03:02 UTC
Severity: important
Tags: notabug
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hello,
I'm trying to use home-openssh-service-type. I'm testing the configuration by running
guix home container home-configuration.scm
The files are created with too open permissions, so ssh refuses to run:
$ ssh xxx
Bad owner or permissions on ~/.ssh/config
$ ls -l .ssh
lrwxrwxrwx 1 user users 59 Aug 14 18:17 authorized_keys -> /gnu/store/y8g2d9kmlrhfna23r26cfgp5mr1sxl72-authorized_keys
lrwxrwxrwx 1 user users 52 Aug 14 18:17 config -> /gnu/store/dnnzwrz4hp1z6wnr76a6j57v95vyrbf3-ssh.conf
And the file system being read-only, a manual chmod is not possible.
$ guix describe
guix 9e46320
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: 9e4632081ff31bf0d1715edd66f514614c6dc4bb
Best,
Elias
This bug report was last modified 2 years and 229 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.