OILS / soil / admin.sh View on Github | oilshell.org

19 lines, 8 significant
1#!/usr/bin/env bash
2#
3# Manual setup
4#
5# Usage:
6# soil/admin.sh <function name>
7
8set -o nounset
9set -o pipefail
10set -o errexit
11
12keygen() {
13 local comment=${1:-oils github}
14 local file=${2:-rsa_oils_github}
15 ssh-keygen -t rsa -b 4096 -C "$comment" -f $file
16}
17
18
19"$@"