[–] 40 points 1 year ago (4 children)

Once upon a time, Stephen Colbert ('s character) uttering "It's a well known fact that reality has a liberal bias" was regarded as satire. Now, I wouldn't be so sure.

  • source
  • [–] 5 points 1 year ago* (last edited 1 year ago) (1 child)

    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.

  • source
  • parent
  • context
  • view more: ‹ prev next ›