no, it's like this: server -> client: SSH2_MSG_SERVICE_ACCEPT client -> server: SSH2_MSG_USERAUTH_REQUEST(method = none) server -> client: SSH2_MSG_USERAUTH_FAILURE(list of methods) client -> server: SSH2_MSG_USERAUTH_REQUEST(some method) -m