Another go at https://code.google.com/p/shellinabox/issues/detail?id=202

Just add keys as they come, instead of adding whole ranges.