Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)JW
Posts
0
Comments
377
Joined
2 yr. ago

  • 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.