added prompt handler to SSH