Lines Matching defs:ssh
12 * called by a name other than "ssh" or "Secure Shell".
92 #include "ssh.h"
126 /* Flag indicating that ssh should daemonise after authentication is complete */
356 * ssh's willingness to forward X11 connections to
1049 {"^Z", "suspend ssh", SUPPRESS_MUXCLIENT},
1051 {"&", "background ssh (when waiting for connections to terminate)",
1166 "%c^Z [suspend ssh]\r\n", escape_char);
1942 error("Warning: ssh server tried X11 forwarding.");
1981 error("Warning: ssh server tried agent forwarding.");
2297 struct ssh *ssh = active_state; /* XXX */
2316 if (ssh->kex->session_id_len == 0)
2317 fatal("%s: ssh->kex->session_id_len == 0", __func__);
2330 (r = sshbuf_put_string(signdata, ssh->kex->session_id,
2331 ssh->kex->session_id_len)) != 0 ||
2336 if ((r = sshpkt_get_string_direct(ssh, &sig, &siglen)) != 0) {
2354 ssh_packet_check_eom(ssh);
2370 struct ssh *ssh = active_state; /* XXX */
2377 static int hostkeys_seen = 0; /* XXX use struct ssh */
2378 extern struct sockaddr_storage hostaddr; /* XXX from ssh.c */
2390 while (ssh_packet_remaining(ssh) > 0) {
2393 if ((r = sshpkt_get_string_direct(ssh, &blob, &len)) != 0) {
2482 if ((r = sshpkt_start(ssh, SSH2_MSG_GLOBAL_REQUEST)) != 0 ||
2483 (r = sshpkt_put_cstring(ssh,
2485 (r = sshpkt_put_u8(ssh, 1)) != 0) /* bool: want reply */
2497 if ((r = sshpkt_put_stringb(ssh, buf)) != 0)
2501 if ((r = sshpkt_send(ssh)) != 0)