[PATCH] Making SSH checks uniform and hopefully adding case insensitive matches properly