Lines Matching refs:ses
72 algotype = buf_getstring(ses.payload, &algolen);
79 remotelen = buf_getint(ses.payload);
106 buf_getptr(ses.payload, remotelen), remotelen) != 0) {
139 buf_putbyte(ses.writepayload, SSH_MSG_USERAUTH_REQUEST);
141 buf_putstring(ses.writepayload, cli_opts.username,
144 buf_putstring(ses.writepayload, SSH_SERVICE_CONNECTION,
147 buf_putstring(ses.writepayload, AUTH_METHOD_PUBKEY,
150 buf_putbyte(ses.writepayload, realsign);
154 buf_putstring(ses.writepayload, algoname, algolen);
155 buf_put_pub_key(ses.writepayload, key, type);
161 sigbuf = buf_new(4 + SHA1_HASH_SIZE + ses.writepayload->len);
162 buf_putstring(sigbuf, ses.session_id, SHA1_HASH_SIZE);
163 buf_putbytes(sigbuf, ses.writepayload->data, ses.writepayload->len);
164 buf_put_sign(ses.writepayload, key, type, sigbuf->data, sigbuf->len);