NixOS/hosts/sshPerms.sh

4 lines
109 B
Bash
Executable file

#!/usr/bin/env bash
chmod 700 $HOME/.ssh
chmod 644 $HOME/.ssh/id_ed25519.pub
chmod 600 $HOME/.ssh/id_ed25519