You can also use ssh shorthands in ~/.ssh/config
You can also use ssh shorthands in ~/.ssh/config
With the added benefit of it looking like you’re yelling at your prompt in order to get it to use sudo.
Meh, crap is barely a swear word is it?
Right now, nothing 😈 (but my dotfiles/etc configs live on several machines)
Before, I used Restic (incremental, encrypted backup over network), which I really liked. I think I should set it up again.
We almost have the same setup then, I use
ssh_hostnames=$(grep "^Host " ~/.ssh/config | awk '!/*/ {print $2}') for host in $ssh_hostnames do alias $host="ssh $host" done
in my .bash_aliases to parse the ~/.ssh/config file and cut off the 'ssh ’ part automatically for every Host I have in there.