e58f91cb9e
- /home/dot_local/bin/run_onchange_ensure-executable.tmpl - /home/dot_local/share/ansible/run_onchange_after_symlink-ansible-configs.tmpl - /home/dot_ssh/run_onchanges_after_ensure-private-key.tmpl - /home/dot_ssh/run_onchanges_after_generate-public-keys.tmpl - /home/Library/Fonts/run_onchange_after_add-fonts.tmpl - /system/usr/share/run_onchange_after_setup-share-folder - /system/usr/local/share/run_onchange_after_setup-share-folder - /system/var/log/user/run_onchange_after-symlink-user-logs - /system/etc/default/modify_grub
10 lines
345 B
Bash
10 lines
345 B
Bash
#!/usr/bin/env bash
|
|
|
|
{{ includeTemplate "universal/profile" }}
|
|
{{ includeTemplate "universal/logg" }}
|
|
|
|
### Ensure id_rsa is present and create one if it does not exist
|
|
if [ ! -f "$HOME/.ssh/id_rsa" ]; then
|
|
logg 'Generating missing default private key / public key (`~/.ssh/id_rsa`)'
|
|
ssh-keygen -b 4096 -t rsa -f "$HOME/.ssh/id_rsa" -q -N
|
|
fi
|