import and directly use the code from go.crypto ssh
remove useless constants