Lines Matching refs:protocol
15 * incompatible with the protocol description in the RFC file, it must be
409 if ((options.protocol & SSH_PROTO_1) &&
410 (options.protocol & SSH_PROTO_2)) {
413 } else if (options.protocol & SSH_PROTO_2) {
425 /* Send our protocol version identification. */
463 s = "Protocol mismatch.\n";
467 logit("Bad protocol version identification '%.100s' from %s",
471 debug("Client protocol version %d.%d; client software version %.100s",
492 if (options.protocol & SSH_PROTO_2)
498 if (!(options.protocol & SSH_PROTO_1)) {
511 if (options.protocol & SSH_PROTO_2) {
524 s = "Protocol major versions differ.\n";
528 logit("Protocol major versions differ for %s: %.200s vs. %.200s",
903 * Protocol from reexec master to child:
1284 if ((options.protocol & SSH_PROTO_1) &&
1613 if ((options.protocol & SSH_PROTO_1) && !sensitive_data.have_ssh1_key) {
1614 logit("Disabling protocol version 1. Could not load host key");
1615 options.protocol &= ~SSH_PROTO_1;
1617 if ((options.protocol & SSH_PROTO_2) && !sensitive_data.have_ssh2_key) {
1618 logit("Disabling protocol version 2. Could not load host key");
1619 options.protocol &= ~SSH_PROTO_2;
1621 if (!(options.protocol & (SSH_PROTO_1|SSH_PROTO_2))) {
1667 if (options.protocol & SSH_PROTO_1) {
1791 if (options.protocol & SSH_PROTO_1)
2168 /* Put protocol flags. */