f64962b25b
Deleted .local/share/chezmoi/home/.chezmoiscripts/universal/run_onchange_after_60-cleanup.tmpl
9 lines
304 B
Bash
9 lines
304 B
Bash
#!/usr/bin/env bash
|
|
|
|
{{- 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
|