Lines Matching defs:ssh

6  * This program is the ssh daemon.  It listens for connections from clients,
16 * called by a name other than "ssh" or "Secure Shell".
100 #include "ssh.h"
132 #include "ssh-gss.h"
135 #include "ssh-sandbox.h"
429 sshd_exchange_identification(struct ssh *ssh, int sock_in, int sock_out)
462 ssh_remote_ipaddr(ssh), ssh_remote_port(ssh));
472 ssh_remote_ipaddr(ssh), ssh_remote_port(ssh));
501 ssh_remote_ipaddr(ssh), ssh_remote_port(ssh));
509 ssh->compat = compat_datafellows(remote_version);
511 if ((ssh->compat & SSH_BUG_PROBE) != 0) {
513 ssh_remote_ipaddr(ssh), ssh_remote_port(ssh),
517 if ((ssh->compat & SSH_BUG_SCANNER) != 0) {
519 ssh_remote_ipaddr(ssh), ssh_remote_port(ssh),
523 if ((ssh->compat & SSH_BUG_RSASIGMD5) != 0) {
527 if ((ssh->compat & SSH_BUG_DERIVEKEY) != 0) {
547 packet_disconnect("Your ssh version is too old and "
574 ssh_remote_ipaddr(ssh), ssh_remote_port(ssh),
874 get_hostkey_by_type(int type, int nid, int need_private, struct ssh *ssh)
902 get_hostkey_public_by_type(int type, int nid, struct ssh *ssh)
904 return get_hostkey_by_type(type, nid, 0, ssh);
908 get_hostkey_private_by_type(int type, int nid, struct ssh *ssh)
910 return get_hostkey_by_type(type, nid, 1, ssh);
922 get_hostkey_public_by_index(int ind, struct ssh *ssh)
930 get_hostkey_index(Key *key, int compare, struct ssh *ssh)
957 notify_hostkeys(struct ssh *ssh)
971 key = get_hostkey_public_by_index(i, ssh);
1507 check_ip_options(struct ssh *ssh)
1510 int sock_in = ssh_packet_get_connection_in(ssh);
1531 ssh_remote_ipaddr(ssh), ssh_remote_port(ssh), text);
1543 struct ssh *ssh = NULL;
2230 ssh = active_state; /* XXX */
2231 check_ip_options(ssh);
2238 if ((remote_port = ssh_remote_port(ssh)) < 0) {
2248 remote_ip = ssh_remote_ipaddr(ssh);
2275 remote_ip, remote_port, laddr, ssh_local_port(ssh));
2290 sshd_exchange_identification(ssh, sock_in, sock_out);
2426 struct ssh *ssh = active_state; /* XXX */
2437 ssh_remote_ipaddr(ssh), ssh_remote_port(ssh),
2455 ssh_remote_ipaddr(ssh), ssh_remote_port(ssh),
2476 struct ssh *ssh = active_state; /* XXX */
2596 ssh_remote_ipaddr(ssh), ssh_remote_port(ssh),