You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
199 B

#!/usr/bin/env bash
function ssh_setup {
mkdir -p ~/.ssh
chmod 700 ~/.ssh
touch ~/.ssh/config
chmod 600 ~/.ssh/config
}
function ssh_key {
ssh-keygen -t ed25519 -C "${1?"Usage: $0 EMAIL"}"
}