#!/bin/bash CONFIG="$HOME/.ssh/config" if [ -f "$CONFIG" ]; then cat "$CONFIG" | awk '{if($1=="Host"){print $2}}' fi