Scotland’s hopes of staying in the top tier of the Nations League were boosted after a determined showing in Piraeus.