Berwick Rangers' home tie against Peterhead is the only pairing of senior Scottish teams in the draw for the second round of the Scottish Cup.
Highland League leaders Brora Rangers will play champions Cove Rangers, one of potentially four ties featuring teams from that competition.
Wick travel to Turriff United and Formartine host Inverurie Loco Works.
And Fort William could face Lossiemouth if they beat Newton Stewart and Culter in their respective replays.
Those teams featured in goalless draws in the first round of the cup and meet again on Saturday.
Preston Athletic's reward for their 4-3 win over Huntly is a trip to Hampden to take on Scottish League Two side Queen's Park.
The matches are scheduled to be played on Saturday 5 October.
William Hill Scottish Cup second round draw
Gala Fairydean Rovers v Clyde
Turriff United v Wick Academy
Albion Rovers v Spartans
Queen's Park v Preston Athletic
Brora Rangers v Cove Rangers
Dalbeattie Star v Montrose
Edinburgh City v Fraserburgh
Berwick Rangers v Peterhead
Keith v Elgin City
East Stirlingshire v Threave Rovers
Stirling Albion v Whitehill Welfare
Auchinleck Talbot v St Cuthbert Wanderers
Formartine United v Inverurie Loco Works
Fort William or Newton Stewart v Lossiemouth or Culter
Buckie Thistle v Annan Athletic
Deveronvale v Linlithgow Rose