Home
last modified time | relevance | path

Searched refs:remote_major (Results 1 – 3 of 3) sorted by relevance

/openbsd/usr.bin/ssh/
H A Dssh_api.c343 int r = 0, remote_major, remote_minor, expect_nl; in _ssh_read_banner() local
395 &remote_major, &remote_minor, remote_version) != 3) { in _ssh_read_banner()
400 remote_major, remote_minor, remote_version); in _ssh_read_banner()
403 if (remote_major == 1 && remote_minor == 99) { in _ssh_read_banner()
404 remote_major = 2; in _ssh_read_banner()
407 if (remote_major != 2) in _ssh_read_banner()
H A Dssh-keyscan.c197 ssh2_capable(int remote_major, int remote_minor) in ssh2_capable() argument
199 switch (remote_major) { in ssh2_capable()
442 int n = 0, remote_major = 0, remote_minor = 0; in congreet() local
515 &remote_major, &remote_minor, remote_version) == 3) in congreet()
517 if (!ssh2_capable(remote_major, remote_minor)) { in congreet()
H A Dkex.c1231 int remote_major, remote_minor, mismatch, oerrno = 0; in kex_exchange_identification() local
1375 &remote_major, &remote_minor, remote_version) != 3) { in kex_exchange_identification()
1384 remote_major, remote_minor, remote_version); in kex_exchange_identification()
1388 switch (remote_major) { in kex_exchange_identification()
1401 PROTOCOL_MAJOR_2, remote_major); in kex_exchange_identification()