search for: keygrab_ssh2

Displaying 7 results from an estimated 7 matches for "keygrab_ssh2".

2015 Jan 27
0
[Bug 1213] ssh-keyscan exits in mid-way
...ket_read_seqnr (ssh=0x7ffff86f4520, typep=0x7fffffffde0f "", seqnr_p=0x7fffffffde10) at ../packet.c:1330 #3 0x00007ffff7fa69f5 in ssh_dispatch_run (ssh=0x7ffff86f4520, mode=0, done=0x7ffff8207178, ctxt=0x7ffff86f4520) at ../dispatch.c:101 #4 0x00007ffff7f85aef in keygrab_ssh2 (c=0x7ffff8207160) at ../ssh-keyscan.c:292 #5 0x00007ffff7f86e99 in congreet (s=149) at ../ssh-keyscan.c:501 #6 0x00007ffff7f86f34 in conread (s=149) at ../ssh-keyscan.c:516 #7 0x00007ffff7f873b5 in conloop () at ../ssh-keyscan.c:587 #8 0x00007ffff7f874cf in do_host (...
2015 Jan 30
0
[Bug 1213] ssh-keyscan exits in mid-way
...t_read_seqnr (ssh=0x7ffffb6e9cb0, typep=0x7fffffffde0f "", seqnr_p=0x7fffffffde10) at ../packet.c:1313 #2 0x00007ffff7fa669b in ssh_dispatch_run (ssh=0x7ffffb6e9cb0, mode=0, done=0x7ffff8207d78, ctxt=0x7ffffb6e9cb0) at ../dispatch.c:101 #3 0x00007ffff7f84cef in keygrab_ssh2 (c=0x7ffff8207d60) at ../ssh-keyscan.c:293 #4 0x00007ffff7f860ba in congreet (s=213) at ../ssh-keyscan.c:503 #5 0x00007ffff7f86155 in conread (s=213) at ../ssh-keyscan.c:518 #6 0x00007ffff7f865d6 in conloop () at ../ssh-keyscan.c:589 #7 0x00007ffff7f866f0 in do_host (...
2001 Jul 27
0
Updated ssh-keyscan patch for ssh2 support
...tatic int +hostjump(Key *hostkey) +{ + longjmp(kexjmp, (int)hostkey); +} + +int +ssh2_capable(int remote_major, int remote_minor) +{ + switch (remote_major) { + case 1: + if (remote_minor == 99) + return 1; + break; + case 2: + return 1; + default: + break; + } + return 0; +} + +static Key * +keygrab_ssh2(con *c) +{ + int j; + + packet_set_connection(c->c_fd, c->c_fd); + enable_compat20(); + myproposal[PROPOSAL_SERVER_HOST_KEY_ALGS] = c->c_keytype == KT_DSA? + "ssh-dss": "ssh-rsa"; + c->c_kex = kex_setup(myproposal); + c->c_kex->verify_host_key = hostjump; +...
2011 Feb 17
24
[Bug 1213] ssh-keyscan exits in mid-way
https://bugzilla.mindrot.org/show_bug.cgi?id=1213 Andreas Kotes <count-mindrot at flatline.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |count-mindrot at flatline.de Severity|normal |major --- Comment #6 from
2007 Mar 14
1
sshd gets stuck: select() in packet_read_seqnr waits indefinitely
Dear OpenSSH Portable sshd developers, I'm having a problem where sshd login sessions are occasionally (as often as once a day) getting stuck indefinitely. I enabled debug messages and got a backtrace of a stuck sshd, and I think I've found the bug. I wanted to run it by the list once before filing. sshd version: OpenSSH_4.2p1 FreeBSD-20050903, OpenSSL 0.9.7e-p1 25 Oct 2004
2012 Nov 24
0
ssh-keyscan continuity patch --
...printf(stderr, "# %s %s\n", c->c_name, chop(buf)); n = snprintf(buf, sizeof buf, "SSH-%d.%d-OpenSSH-keyscan\r\n", @@ -466,13 +511,17 @@ confree(s); return; } +/* Read and print one of the ssh2 keys for this host. */ if (c->c_keytype != KT_RSA1) { keyprint(c, keygrab_ssh2(c)); confree(s); return; } +/* Continue the process of getting the ssh1 key. */ c->c_status = CS_SIZE; contouch(s); + return; + } static void @@ -520,7 +569,7 @@ struct timeval seltime, now; fd_set *r, *e; con *c; - int i; + int i, s; gettimeofday(&now, NULL); c =...
2013 Sep 24
9
[PATCH] curve25519-sha256@libssh.org key exchange proposal
...ine KEX_DEFAULT_KEX \ + "curve25519-sha256 at libssh.org," \ KEX_ECDH_METHODS \ KEX_SHA256_METHODS \ "diffie-hellman-group-exchange-sha1," \ diff --git a/ssh-keyscan.c b/ssh-keyscan.c index 8b807c1..dfe561b 100644 --- a/ssh-keyscan.c +++ b/ssh-keyscan.c @@ -254,6 +254,7 @@ keygrab_ssh2(con *c) c->c_kex->kex[KEX_DH_GEX_SHA1] = kexgex_client; c->c_kex->kex[KEX_DH_GEX_SHA256] = kexgex_client; c->c_kex->kex[KEX_ECDH_SHA2] = kexecdh_client; + c->c_kex->kex[KEX_C25519_SHA256] = kexc25519_client; c->c_kex->verify_host_key = hostjump; if (!(j = s...