Home
last modified time | relevance | path

Searched defs:ssh (Results 1 – 25 of 45) sorted by relevance

12

/openssh-portable/
H A Dpacket.h52 struct ssh { struct
54 struct session_state *state;
57 struct kex *kex;
60 char *remote_ipaddr;
61 int remote_port;
85 struct ssh_channels *chanctxt; argument
91 typedef int (ssh_packet_hook_fn)(struct ssh *, struct sshbuf *, argument
H A Dnchan.c109 chan_read_failed(struct ssh *ssh, Channel *c) in chan_read_failed()
125 chan_ibuf_empty(struct ssh *ssh, Channel *c) in chan_ibuf_empty()
147 chan_obuf_empty(struct ssh *ssh, Channel *c) in chan_obuf_empty()
168 chan_rcvd_eow(struct ssh *ssh, Channel *c) in chan_rcvd_eow()
180 chan_send_eof2(struct ssh *ssh, Channel *c) in chan_send_eof2()
203 chan_send_close2(struct ssh *ssh, Channel *c) in chan_send_close2()
226 chan_send_eow2(struct ssh *ssh, Channel *c) in chan_send_eow2()
251 chan_rcvd_ieof(struct ssh *ssh, Channel *c) in chan_rcvd_ieof()
264 chan_rcvd_oclose(struct ssh *ssh, Channel *c) in chan_rcvd_oclose()
304 chan_write_failed(struct ssh *ssh, Channel *c) in chan_write_failed()
[all …]
H A Dpacket.c232 struct ssh *ssh = NULL; in ssh_alloc_session_state() local
345 ssh_packet_set_mux(struct ssh *ssh) in ssh_packet_set_mux()
515 ssh_remote_ipaddr(struct ssh *ssh) in ssh_remote_ipaddr()
540 ssh_remote_port(struct ssh *ssh) in ssh_remote_port()
552 ssh_local_ipaddr(struct ssh *ssh) in ssh_local_ipaddr()
561 ssh_local_port(struct ssh *ssh) in ssh_local_port()
651 ssh_packet_close(struct ssh *ssh) in ssh_packet_close()
1231 ssh_packet_send2(struct ssh *ssh) in ssh_packet_send2()
1405 ssh_packet_read(struct ssh *ssh) in ssh_packet_read()
2584 sshpkt_get_end(struct ssh *ssh) in sshpkt_get_end()
[all …]
H A Dssh_api.c89 struct ssh *ssh; in ssh_init() local
151 ssh_free(struct ssh *ssh) in ssh_free()
180 ssh_get_app_data(struct ssh *ssh) in ssh_get_app_data()
221 ssh_set_verify_host_key_callback(struct ssh *ssh, in ssh_set_verify_host_key_callback()
239 ssh_packet_next(struct ssh *ssh, u_char *typep) in ssh_packet_next()
298 ssh_output_ptr(struct ssh *ssh, size_t *len) in ssh_output_ptr()
307 ssh_output_consume(struct ssh *ssh, size_t len) in ssh_output_consume()
313 ssh_output_space(struct ssh *ssh, size_t len) in ssh_output_space()
319 ssh_input_space(struct ssh *ssh, size_t len) in ssh_input_space()
429 _ssh_exchange_banner(struct ssh *ssh) in _ssh_exchange_banner()
[all …]
H A Ddispatch.c41 dispatch_protocol_error(int type, u_int32_t seq, struct ssh *ssh) in dispatch_protocol_error()
55 dispatch_protocol_ignore(int type, u_int32_t seq, struct ssh *ssh) in dispatch_protocol_ignore()
62 ssh_dispatch_init(struct ssh *ssh, dispatch_fn *dflt) in ssh_dispatch_init()
70 ssh_dispatch_range(struct ssh *ssh, u_int from, u_int to, dispatch_fn *fn) in ssh_dispatch_range()
82 ssh_dispatch_set(struct ssh *ssh, int type, dispatch_fn *fn) in ssh_dispatch_set()
88 ssh_dispatch_run(struct ssh *ssh, int mode, volatile sig_atomic_t *done) in ssh_dispatch_run()
129 ssh_dispatch_run_fatal(struct ssh *ssh, int mode, volatile sig_atomic_t *done) in ssh_dispatch_run_fatal()
H A Dchannels.c226 channel_init_channels(struct ssh *ssh) in channel_init_channels()
241 channel_by_id(struct ssh *ssh, int id) in channel_by_id()
276 channel_lookup(struct ssh *ssh, int id) in channel_lookup()
643 channel_free_all(struct ssh *ssh) in channel_free_all()
677 channel_close_all(struct ssh *ssh) in channel_close_all()
690 channel_stop_listening(struct ssh *ssh) in channel_stop_listening()
739 channel_still_open(struct ssh *ssh) in channel_still_open()
782 channel_find_open(struct ssh *ssh) in channel_find_open()
863 channel_open_message(struct ssh *ssh) in channel_open_message()
2584 channel_output_poll(struct ssh *ssh)
[all …]
H A Dserverloop.c181 client_alive_check(struct ssh *ssh) in client_alive_check()
220 wait_until_can_do_something(struct ssh *ssh, in wait_until_can_do_something()
322 process_input(struct ssh *ssh, fd_set *readset, int connection_in) in process_input()
368 process_buffered_input_packets(struct ssh *ssh) in process_buffered_input_packets()
374 collect_children(struct ssh *ssh) in collect_children()
396 server_loop2(struct ssh *ssh, Authctxt *authctxt) in server_loop2()
466 server_input_keep_alive(int type, u_int32_t seq, struct ssh *ssh) in server_input_keep_alive()
527 server_request_direct_streamlocal(struct ssh *ssh) in server_request_direct_streamlocal()
570 server_request_tun(struct ssh *ssh) in server_request_tun()
639 server_request_session(struct ssh *ssh) in server_request_session()
[all …]
H A Dmonitor.c273 monitor_child_preauth(struct ssh *ssh, struct monitor *pmonitor) in monitor_child_preauth()
388 monitor_child_postauth(struct ssh *ssh, struct monitor *pmonitor) in monitor_child_postauth()
573 mm_answer_moduli(struct ssh *ssh, int sock, struct sshbuf *m) in mm_answer_moduli()
613 mm_answer_sign(struct ssh *ssh, int sock, struct sshbuf *m) in mm_answer_sign()
837 mm_answer_authserv(struct ssh *ssh, int sock, struct sshbuf *m) in mm_answer_authserv()
994 mm_answer_pam_start(struct ssh *ssh, int sock, struct sshbuf *m) in mm_answer_pam_start()
1057 mm_answer_pam_query(struct ssh *ssh, int sock, struct sshbuf *m) in mm_answer_pam_query()
1503 mm_record_login(struct ssh *ssh, Session *s, struct passwd *pw) in mm_record_login()
1539 mm_answer_pty(struct ssh *ssh, int sock, struct sshbuf *m) in mm_answer_pty()
1627 mm_answer_term(struct ssh *ssh, int sock, struct sshbuf *req) in mm_answer_term()
[all …]
H A Dsession.c1470 child_close_fds(struct ssh *ssh) in child_close_fds()
1905 session_pty_req(struct ssh *ssh, Session *s) in session_pty_req()
1999 session_x11_req(struct ssh *ssh, Session *s) in session_x11_req()
2035 session_shell_req(struct ssh *ssh, Session *s) in session_shell_req()
2045 session_exec_req(struct ssh *ssh, Session *s) in session_exec_req()
2061 session_break_req(struct ssh *ssh, Session *s) in session_break_req()
2075 session_env_req(struct ssh *ssh, Session *s) in session_env_req()
2136 session_signal_req(struct ssh *ssh, Session *s) in session_signal_req()
2247 session_set_fds(struct ssh *ssh, Session *s, in session_set_fds()
2327 session_close_x11(struct ssh *ssh, int id) in session_close_x11()
[all …]
H A Dkex.c420 kex_reset_dispatch(struct ssh *ssh) in kex_reset_dispatch()
427 kex_send_ext_info(struct ssh *ssh) in kex_send_ext_info()
452 kex_send_newkeys(struct ssh *ssh) in kex_send_newkeys()
508 kex_input_newkeys(int type, u_int32_t seq, struct ssh *ssh) in kex_input_newkeys()
531 kex_send_kexinit(struct ssh *ssh) in kex_send_kexinit()
570 kex_input_kexinit(int type, u_int32_t seq, struct ssh *ssh) in kex_input_kexinit()
706 kex_ready(struct ssh *ssh, char *proposal[PROPOSAL_MAX]) in kex_ready()
719 kex_setup(struct ssh *ssh, char *proposal[PROPOSAL_MAX]) in kex_setup()
738 kex_start_rekex(struct ssh *ssh) in kex_start_rekex()
880 kex_choose_conf(struct ssh *ssh) in kex_choose_conf()
[all …]
H A Dclientloop.c227 set_control_persist_exit_time(struct ssh *ssh) in set_control_persist_exit_time()
442 client_check_window_change(struct ssh *ssh) in client_check_window_change()
477 server_alive_check(struct ssh *ssh) in server_alive_check()
500 client_wait_until_can_do_something(struct ssh *ssh, in client_wait_until_can_do_something()
762 process_cmdline(struct ssh *ssh) in process_cmdline()
939 process_escapes(struct ssh *ssh, Channel *c, in process_escapes()
1165 client_process_buffered_input_packets(struct ssh *ssh) in client_process_buffered_input_packets()
1529 client_request_forwarded_streamlocal(struct ssh *ssh, in client_request_forwarded_streamlocal()
1619 client_request_tun_fwd(struct ssh *ssh, int tun_mode, in client_request_tun_fwd()
2209 client_input_hostkeys(struct ssh *ssh) in client_input_hostkeys()
[all …]
H A Dsshconnect2.c530 userauth(struct ssh *ssh, char *authlist) in userauth()
761 userauth_gssapi(struct ssh *ssh) in userauth_gssapi()
817 userauth_gssapi_cleanup(struct ssh *ssh) in userauth_gssapi_cleanup()
1031 userauth_none(struct ssh *ssh) in userauth_none()
1047 userauth_passwd(struct ssh *ssh) in userauth_passwd()
1308 sign_and_send_pubkey(struct ssh *ssh, Identity *id) in sign_and_send_pubkey()
1465 send_pubkey_test(struct ssh *ssh, Identity *id) in send_pubkey_test()
1763 pubkey_cleanup(struct ssh *ssh) in pubkey_cleanup()
1805 userauth_pubkey(struct ssh *ssh) in userauth_pubkey()
1853 userauth_kbdint(struct ssh *ssh) in userauth_kbdint()
[all …]
H A Dauth2-gss.c62 userauth_gssapi(struct ssh *ssh) in userauth_gssapi()
138 input_gssapi_token(int type, u_int32_t plen, struct ssh *ssh) in input_gssapi_token()
202 input_gssapi_errtok(int type, u_int32_t plen, struct ssh *ssh) in input_gssapi_errtok()
246 input_gssapi_exchange_complete(int type, u_int32_t plen, struct ssh *ssh) in input_gssapi_exchange_complete()
279 input_gssapi_mic(int type, u_int32_t plen, struct ssh *ssh) in input_gssapi_mic()
H A Dauth.c101 allowed_user(struct ssh *ssh, struct passwd * pw) in allowed_user()
312 auth_log(struct ssh *ssh, int authenticated, int partial, in auth_log()
377 auth_maxtries_exceeded(struct ssh *ssh) in auth_maxtries_exceeded()
395 auth_root_allowed(struct ssh *ssh, const char *method) in auth_root_allowed()
562 getpwnamallow(struct ssh *ssh, const char *user) in getpwnamallow()
683 auth_debug_send(struct ssh *ssh) in auth_debug_send()
741 remote_hostname(struct ssh *ssh) in remote_hostname()
830 auth_get_canonical_hostname(struct ssh *ssh, int use_dns) in auth_get_canonical_hostname()
1070 auth_activate_options(struct ssh *ssh, struct sshauthopt *opts) in auth_activate_options()
1085 auth_restrict_session(struct ssh *ssh) in auth_restrict_session()
[all …]
H A Dauth2-pubkey.c90 userauth_pubkey(struct ssh *ssh) in userauth_pubkey()
325 check_principals_line(struct ssh *ssh, char *cp, const struct sshkey_cert *cert, in check_principals_line()
375 process_principals(struct ssh *ssh, FILE *f, const char *file, in process_principals()
412 match_principals_file(struct ssh *ssh, struct passwd *pw, char *file, in match_principals_file()
438 match_principals_command(struct ssh *ssh, struct passwd *user_pw, in match_principals_command()
575 check_authkey_line(struct ssh *ssh, struct passwd *pw, struct sshkey *key, in check_authkey_line()
714 check_authkeys_file(struct ssh *ssh, struct passwd *pw, FILE *f, in check_authkeys_file()
746 user_cert_trusted_ca(struct ssh *ssh, struct passwd *pw, struct sshkey *key, in user_cert_trusted_ca()
851 user_key_allowed2(struct ssh *ssh, struct passwd *pw, struct sshkey *key, in user_key_allowed2()
879 user_key_command_allowed2(struct ssh *ssh, struct passwd *user_pw, in user_key_command_allowed2()
[all …]
H A Dkexgexs.c63 kexgex_server(struct ssh *ssh) in kexgex_server()
72 input_kex_dh_gex_request(int type, u_int32_t seq, struct ssh *ssh) in input_kex_dh_gex_request()
126 input_kex_dh_gex_init(int type, u_int32_t seq, struct ssh *ssh) in input_kex_dh_gex_init()
H A Dkexgexc.c60 kexgex_client(struct ssh *ssh) in kexgex_client()
94 input_kex_dh_gex_group(int type, u_int32_t seq, struct ssh *ssh) in input_kex_dh_gex_group()
143 input_kex_dh_gex_reply(int type, u_int32_t seq, struct ssh *ssh) in input_kex_dh_gex_reply()
H A Dkexgen.c99 kex_gen_client(struct ssh *ssh) in kex_gen_client()
139 input_kex_gen_reply(int type, u_int32_t seq, struct ssh *ssh) in input_kex_gen_reply()
237 kex_gen_server(struct ssh *ssh) in kex_gen_server()
245 input_kex_gen_init(int type, u_int32_t seq, struct ssh *ssh) in input_kex_gen_init()
H A Dauth2-chall.c193 auth2_challenge(struct ssh *ssh, char *devs) in auth2_challenge()
209 auth2_challenge_stop(struct ssh *ssh) in auth2_challenge_stop()
222 auth2_challenge_start(struct ssh *ssh) in auth2_challenge_start()
253 send_userauth_info_request(struct ssh *ssh) in send_userauth_info_request()
290 input_userauth_info_response(int type, u_int32_t seq, struct ssh *ssh) in input_userauth_info_response()
H A Dauth-passwd.c77 auth_password(struct ssh *ssh, const char *password) in auth_password()
167 sys_auth_passwd(struct ssh *ssh, const char *password) in sys_auth_passwd()
192 sys_auth_passwd(struct ssh *ssh, const char *password) in sys_auth_passwd()
H A Dmux.c268 mux_master_process_hello(struct ssh *ssh, u_int rid, in mux_master_process_hello()
334 mux_master_process_new_session(struct ssh *ssh, u_int rid, in mux_master_process_new_session()
499 mux_master_process_alive_check(struct ssh *ssh, u_int rid, in mux_master_process_alive_check()
516 mux_master_process_terminate(struct ssh *ssh, u_int rid, in mux_master_process_terminate()
692 mux_master_process_open_fwd(struct ssh *ssh, u_int rid, in mux_master_process_open_fwd()
857 mux_master_process_close_fwd(struct ssh *ssh, u_int rid, in mux_master_process_close_fwd()
969 mux_master_process_stdio_fwd(struct ssh *ssh, u_int rid, in mux_master_process_stdio_fwd()
1133 mux_master_process_proxy(struct ssh *ssh, u_int rid, in mux_master_process_proxy()
1150 mux_master_read_cb(struct ssh *ssh, Channel *c) in mux_master_read_cb()
1249 mux_tty_alloc_failed(struct ssh *ssh, Channel *c) in mux_tty_alloc_failed()
[all …]
H A Dsshd.c481 privsep_preauth(struct ssh *ssh) in privsep_preauth()
549 privsep_postauth(struct ssh *ssh, Authctxt *authctxt)
716 get_hostkey_public_by_type(int type, int nid, struct ssh *ssh)
722 get_hostkey_private_by_type(int type, int nid, struct ssh *ssh)
736 get_hostkey_public_by_index(int ind, struct ssh *ssh)
771 notify_hostkeys(struct ssh *ssh)
1385 check_ip_options(struct ssh *ssh)
1417 set_process_rdomain(struct ssh *ssh, const char *name)
1509 struct ssh *ssh = NULL; local
2303 sshd_hostkey_sign(struct ssh *ssh, struct sshkey *privkey,
[all …]
H A Dssh.c643 struct ssh *ssh = NULL; in main() local
1752 ssh_confirm_remote_forward(struct ssh *ssh, int type, u_int32_t seq, void *ctxt) in ssh_confirm_remote_forward()
1813 client_cleanup_stdio_fwd(struct ssh *ssh, int id, void *arg) in client_cleanup_stdio_fwd()
1820 ssh_stdio_confirm(struct ssh *ssh, int id, int success, void *arg) in ssh_stdio_confirm()
1827 ssh_tun_confirm(struct ssh *ssh, int id, int success, void *arg) in ssh_tun_confirm()
1840 ssh_init_stdio_forwarding(struct ssh *ssh) in ssh_init_stdio_forwarding()
1862 ssh_init_forwarding(struct ssh *ssh, char **ifname) in ssh_init_forwarding()
1950 ssh_session2_setup(struct ssh *ssh, int id, int success, void *arg) in ssh_session2_setup()
1994 ssh_session2_open(struct ssh *ssh) in ssh_session2_open()
2040 ssh_session2(struct ssh *ssh, struct passwd *pw) in ssh_session2()
H A Dauth2-hostbased.c61 userauth_hostbased(struct ssh *ssh) in userauth_hostbased()
172 hostbased_key_allowed(struct ssh *ssh, struct passwd *pw, in hostbased_key_allowed()
H A Dauth2-none.c62 userauth_none(struct ssh *ssh) in userauth_none()

Completed in 186 milliseconds

12