The simplest solution is simply to increase the size of the key beyond that of the most advanced quantum computer (which is essentially today's approach ;) ). Also, you just need to exchange a symmetric key; Shor's algorithm is a special case, you don't get the exponential -> polynomial speedup[1] to encryption algorithms in general. So once you deliver the symmetric key in a secure way, using a quantum resistant algorithm, you can resume business as usual.
[1] Though in brute force searches, you can reduce the effective key length by 2. https://en.wikipedia.org/wiki/Grover%27s_algorithm
Though the question is how relevant this is. Likely SSH will have moved to something more secure years before any quantum computer with sufficient computing power will become available.
Because that's the thing these scare-stories don't tell you: While the progress in quantum computing is moving very slowly, in recent years the progress in post quantum cryptography has been very fast.