search for: rexec_send_rng_seed

Displaying 2 results from an estimated 2 matches for "rexec_send_rng_seed".

2005 Nov 17
3
4.2 and the 'last' command
We've run into an interesting dilemma regarding last log information and ssh 4.2p1. In 3.8, we didn't see this problem, but now has cropped up in 4.2. When a user logs in, sshd seems to call 'last' to get the last log information. 'last' then opens the /var/log/wtmp file and processes the information. On some systems, this file can be quite large, and we're seeing
2012 Jan 28
1
PATCH: Support for encrypted host keys
...p " * bignum q " * string rngseed (only if OpenSSL is not self-seeded) + * u_int num_host_keys + * Key host_keys num_host_keys times */ buffer_init(&m); buffer_put_cstring(&m, buffer_ptr(conf)); @@ -934,6 +938,18 @@ send_rexec_state(int fd, Buffer *conf) rexec_send_rng_seed(&m); #endif + num_host_keys = 0; + for (i = 0; i < options.num_host_key_files; i++) { + if (sensitive_data.host_keys[i] != NULL) + ++num_host_keys; + } + + buffer_put_int(&m, num_host_keys); + for (i = 0; i < options.num_host_key_files; i++) { + if (sensitive_data.host_keys[i]...