Revamp SSH authentication code so that user interaction is more