 It grows in rocky habitats such as cliffs, scree slopes, walls and mine waste, the type of rock used as a substrate depending on the subspecies.It grows from sea-level up to 3000 metres in North America while in the British Isles it reaches 870 metres.