Also would be good to add a bash function to sams-config.plugin.zsh, something like:
# After following the configuration setup from here:
# https://medium.com/@fredrikanderzon/setting-up-ssh-keys-for-multiple-bitbucket-github-accounts-a5244c28c0ac
function keygen() {
cd ~/.ssh
ssh-keygen -t rsa -C "$1" -f "$1"
ssh-add "~/.ssh/$1"
}
This is important to identify trusted computers and using
ssh
seems to make it easier to manage different hosts.The setup for this should be added to the
README
- following this article (here: https://medium.com/@fredrikanderzon/setting-up-ssh-keys-for-multiple-bitbucket-github-accounts-a5244c28c0ac) would be good.Also would be good to add a bash function to
sams-config.plugin.zsh
, something like:(and remove the
glcone
function)