Home
last modified time | relevance | path

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

123

/external/openssh/
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
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()
204 chan_send_close2(struct ssh *ssh, Channel *c) in chan_send_close2()
228 chan_send_eow2(struct ssh *ssh, Channel *c) in chan_send_eow2()
253 chan_rcvd_ieof(struct ssh *ssh, Channel *c) in chan_rcvd_ieof()
266 chan_rcvd_oclose(struct ssh *ssh, Channel *c) in chan_rcvd_oclose()
306 chan_write_failed(struct ssh *ssh, Channel *c) in chan_write_failed()
[all …]
Dpacket.c232 struct ssh *ssh = NULL; in ssh_alloc_session_state() local
275 ssh_packet_set_input_hook(struct ssh *ssh, ssh_packet_hook_fn *hook, void *ctx) in ssh_packet_set_input_hook()
283 ssh_packet_is_rekeying(struct ssh *ssh) in ssh_packet_is_rekeying()
292 ssh_packet_set_connection(struct ssh *ssh, int fd_in, int fd_out) in ssh_packet_set_connection()
329 ssh_packet_set_timeout(struct ssh *ssh, int timeout, int count) in ssh_packet_set_timeout()
344 ssh_packet_set_mux(struct ssh *ssh) in ssh_packet_set_mux()
351 ssh_packet_get_mux(struct ssh *ssh) in ssh_packet_get_mux()
357 ssh_packet_set_log_preamble(struct ssh *ssh, const char *fmt, ...) in ssh_packet_set_log_preamble()
376 ssh_packet_stop_discard(struct ssh *ssh) in ssh_packet_stop_discard()
403 ssh_packet_start_discard(struct ssh *ssh, struct sshenc *enc, in ssh_packet_start_discard()
[all …]
Dssh_api.c89 struct ssh *ssh; in ssh_init() local
151 ssh_free(struct ssh *ssh) in ssh_free()
176 ssh_set_app_data(struct ssh *ssh, void *app_data) in ssh_set_app_data()
182 ssh_get_app_data(struct ssh *ssh) in ssh_get_app_data()
189 ssh_add_hostkey(struct ssh *ssh, struct sshkey *key) in ssh_add_hostkey()
223 ssh_set_verify_host_key_callback(struct ssh *ssh, in ssh_set_verify_host_key_callback()
235 ssh_input_append(struct ssh *ssh, const u_char *data, size_t len) in ssh_input_append()
241 ssh_packet_next(struct ssh *ssh, u_char *typep) in ssh_packet_next()
282 ssh_packet_payload(struct ssh *ssh, size_t *lenp) in ssh_packet_payload()
288 ssh_packet_put(struct ssh *ssh, int type, const u_char *data, size_t len) in ssh_packet_put()
[all …]
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()
258 channel_by_remote_id(struct ssh *ssh, u_int remote_id) in channel_by_remote_id()
276 channel_lookup(struct ssh *ssh, int id) in channel_lookup()
305 channel_register_fds(struct ssh *ssh, Channel *c, int rfd, int wfd, int efd, in channel_register_fds()
351 channel_new(struct ssh *ssh, char *ctype, int type, int rfd, int wfd, int efd, in channel_new()
422 channel_close_fd(struct ssh *ssh, int *fdp) in channel_close_fd()
438 channel_close_fds(struct ssh *ssh, Channel *c) in channel_close_fds()
480 permission_set_get(struct ssh *ssh, int where) in permission_set_get()
498 permission_set_get_array(struct ssh *ssh, int who, int where, in permission_set_get_array()
[all …]
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()
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()
320 process_input(struct ssh *ssh, fd_set *readset, int connection_in) in process_input()
356 process_output(struct ssh *ssh, fd_set *writeset, int connection_out) in process_output()
370 process_buffered_input_packets(struct ssh *ssh) in process_buffered_input_packets()
376 collect_children(struct ssh *ssh) in collect_children()
398 server_loop2(struct ssh *ssh, Authctxt *authctxt) in server_loop2()
468 server_input_keep_alive(int type, u_int32_t seq, struct ssh *ssh) in server_input_keep_alive()
481 server_request_direct_tcpip(struct ssh *ssh, int *reason, const char **errmsg) in server_request_direct_tcpip()
529 server_request_direct_streamlocal(struct ssh *ssh) in server_request_direct_streamlocal()
[all …]
Dmonitor.c273 monitor_child_preauth(struct ssh *ssh, struct monitor *pmonitor) in monitor_child_preauth()
390 monitor_child_postauth(struct ssh *ssh, struct monitor *pmonitor) in monitor_child_postauth()
472 monitor_read(struct ssh *ssh, struct monitor *pmonitor, struct mon_table *ent, in monitor_read()
573 mm_answer_moduli(struct ssh *ssh, int sock, struct sshbuf *m) in mm_answer_moduli()
615 mm_answer_sign(struct ssh *ssh, int sock, struct sshbuf *m) in mm_answer_sign()
717 mm_answer_pwnamallow(struct ssh *ssh, int sock, struct sshbuf *m) in mm_answer_pwnamallow()
816 int mm_answer_auth2_read_banner(struct ssh *ssh, int sock, struct sshbuf *m) in mm_answer_auth2_read_banner()
832 mm_answer_authserv(struct ssh *ssh, int sock, struct sshbuf *m) in mm_answer_authserv()
882 mm_answer_authpassword(struct ssh *ssh, int sock, struct sshbuf *m) in mm_answer_authpassword()
928 mm_answer_bsdauthquery(struct ssh *ssh, int sock, struct sshbuf *m) in mm_answer_bsdauthquery()
[all …]
Dsession.c186 auth_input_request_forwarding(struct ssh *ssh, struct passwd * pw) in auth_input_request_forwarding()
296 set_fwdpermit_from_authopts(struct ssh *ssh, const struct sshauthopt *opts) in set_fwdpermit_from_authopts()
337 do_authenticated(struct ssh *ssh, Authctxt *authctxt) in do_authenticated()
392 do_exec_no_pty(struct ssh *ssh, Session *s, const char *command) in do_exec_no_pty()
563 do_exec_pty(struct ssh *ssh, Session *s, const char *command) in do_exec_pty()
663 do_exec(struct ssh *ssh, Session *s, const char *command) in do_exec()
743 do_login(struct ssh *ssh, Session *s, const char *command) in do_login()
988 do_setup_env(struct ssh *ssh, Session *s, const char *shell) in do_setup_env()
1208 do_rc_files(struct ssh *ssh, Session *s, const char *shell) in do_rc_files()
1473 child_close_fds(struct ssh *ssh) in child_close_fds()
[all …]
Dkex.c408 kex_protocol_error(int type, u_int32_t seq, struct ssh *ssh) in kex_protocol_error()
421 kex_reset_dispatch(struct ssh *ssh) in kex_reset_dispatch()
428 kex_send_ext_info(struct ssh *ssh) in kex_send_ext_info()
453 kex_send_newkeys(struct ssh *ssh) in kex_send_newkeys()
471 kex_input_ext_info(int type, u_int32_t seq, struct ssh *ssh) in kex_input_ext_info()
509 kex_input_newkeys(int type, u_int32_t seq, struct ssh *ssh) in kex_input_newkeys()
532 kex_send_kexinit(struct ssh *ssh) in kex_send_kexinit()
571 kex_input_kexinit(int type, u_int32_t seq, struct ssh *ssh) in kex_input_kexinit()
707 kex_ready(struct ssh *ssh, char *proposal[PROPOSAL_MAX]) in kex_ready()
720 kex_setup(struct ssh *ssh, char *proposal[PROPOSAL_MAX]) in kex_setup()
[all …]
Dclientloop.c226 set_control_persist_exit_time(struct ssh *ssh) in set_control_persist_exit_time()
270 client_x11_get_proto(struct ssh *ssh, const char *display, in client_x11_get_proto()
442 client_check_window_change(struct ssh *ssh) in client_check_window_change()
452 client_global_request_reply(int type, u_int32_t seq, struct ssh *ssh) in client_global_request_reply()
470 server_alive_check(struct ssh *ssh) in server_alive_check()
492 client_wait_until_can_do_something(struct ssh *ssh, in client_wait_until_can_do_something()
606 client_process_net_input(struct ssh *ssh, fd_set *readset) in client_process_net_input()
657 client_status_confirm(struct ssh *ssh, int type, Channel *c, void *ctx) in client_status_confirm()
720 client_abandon_status_confirm(struct ssh *ssh, Channel *c, void *ctx) in client_abandon_status_confirm()
726 client_expect_confirm(struct ssh *ssh, int id, const char *request, in client_expect_confirm()
[all …]
Dsshconnect2.c98 verify_host_key_callback(struct sshkey *hostkey, struct ssh *ssh) in verify_host_key_callback()
160 ssh_kex2(struct ssh *ssh, char *host, struct sockaddr *hostaddr, u_short port) in ssh_kex2()
384 ssh_userauth2(struct ssh *ssh, const char *local_user, in ssh_userauth2()
443 input_userauth_service_accept(int type, u_int32_t seq, struct ssh *ssh) in input_userauth_service_accept()
475 input_userauth_ext_info(int type, u_int32_t seqnr, struct ssh *ssh) in input_userauth_ext_info()
481 userauth(struct ssh *ssh, char *authlist) in userauth()
520 input_userauth_error(int type, u_int32_t seq, struct ssh *ssh) in input_userauth_error()
528 input_userauth_banner(int type, u_int32_t seq, struct ssh *ssh) in input_userauth_banner()
548 input_userauth_success(int type, u_int32_t seq, struct ssh *ssh) in input_userauth_success()
581 input_userauth_failure(int type, u_int32_t seq, struct ssh *ssh) in input_userauth_failure()
[all …]
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()
687 auth_debug_send(struct ssh *ssh) in auth_debug_send()
746 remote_hostname(struct ssh *ssh) in remote_hostname()
835 auth_get_canonical_hostname(struct ssh *ssh, int use_dns) in auth_get_canonical_hostname()
1074 auth_activate_options(struct ssh *ssh, struct sshauthopt *opts) in auth_activate_options()
1089 auth_restrict_session(struct ssh *ssh) in auth_restrict_session()
[all …]
Dauth2-pubkey.c90 userauth_pubkey(struct ssh *ssh) in userauth_pubkey()
323 check_principals_line(struct ssh *ssh, char *cp, const struct sshkey_cert *cert, in check_principals_line()
373 process_principals(struct ssh *ssh, FILE *f, const char *file, in process_principals()
410 match_principals_file(struct ssh *ssh, struct passwd *pw, char *file, in match_principals_file()
436 match_principals_command(struct ssh *ssh, struct passwd *user_pw, in match_principals_command()
573 check_authkey_line(struct ssh *ssh, struct passwd *pw, struct sshkey *key, in check_authkey_line()
712 check_authkeys_file(struct ssh *ssh, struct passwd *pw, FILE *f, in check_authkeys_file()
744 user_cert_trusted_ca(struct ssh *ssh, struct passwd *pw, struct sshkey *key, in user_cert_trusted_ca()
849 user_key_allowed2(struct ssh *ssh, struct passwd *pw, struct sshkey *key, in user_key_allowed2()
877 user_key_command_allowed2(struct ssh *ssh, struct passwd *user_pw, in user_key_command_allowed2()
[all …]
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()
Dauth2-chall.c194 auth2_challenge(struct ssh *ssh, char *devs) in auth2_challenge()
210 auth2_challenge_stop(struct ssh *ssh) in auth2_challenge_stop()
223 auth2_challenge_start(struct ssh *ssh) in auth2_challenge_start()
254 send_userauth_info_request(struct ssh *ssh) in send_userauth_info_request()
291 input_userauth_info_response(int type, u_int32_t seq, struct ssh *ssh) in input_userauth_info_response()
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()
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()
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()
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()
Dmux.c193 mux_master_session_cleanup_cb(struct ssh *ssh, int cid, void *unused) in mux_master_session_cleanup_cb()
215 mux_master_control_cleanup_cb(struct ssh *ssh, int cid, void *unused) in mux_master_control_cleanup_cb()
268 mux_master_process_hello(struct ssh *ssh, u_int rid, in mux_master_process_hello()
335 mux_master_process_new_session(struct ssh *ssh, u_int rid, in mux_master_process_new_session()
501 mux_master_process_alive_check(struct ssh *ssh, u_int rid, in mux_master_process_alive_check()
518 mux_master_process_terminate(struct ssh *ssh, u_int rid, in mux_master_process_terminate()
606 mux_confirm_remote_forward(struct ssh *ssh, int type, u_int32_t seq, void *ctxt) in mux_confirm_remote_forward()
695 mux_master_process_open_fwd(struct ssh *ssh, u_int rid, in mux_master_process_open_fwd()
862 mux_master_process_close_fwd(struct ssh *ssh, u_int rid, in mux_master_process_close_fwd()
974 mux_master_process_stdio_fwd(struct ssh *ssh, u_int rid, in mux_master_process_stdio_fwd()
[all …]
Dsshd.c482 privsep_preauth(struct ssh *ssh) in privsep_preauth()
551 privsep_postauth(struct ssh *ssh, Authctxt *authctxt)
678 get_hostkey_by_type(int type, int nid, int need_private, struct ssh *ssh)
719 get_hostkey_public_by_type(int type, int nid, struct ssh *ssh)
725 get_hostkey_private_by_type(int type, int nid, struct ssh *ssh)
739 get_hostkey_public_by_index(int ind, struct ssh *ssh)
747 get_hostkey_index(struct sshkey *key, int compare, struct ssh *ssh)
774 notify_hostkeys(struct ssh *ssh)
1365 check_ip_options(struct ssh *ssh)
1397 set_process_rdomain(struct ssh *ssh, const char *name)
[all …]
Dssh.c620 struct ssh *ssh = NULL; in main() local
1741 ssh_confirm_remote_forward(struct ssh *ssh, int type, u_int32_t seq, void *ctxt) in ssh_confirm_remote_forward()
1802 client_cleanup_stdio_fwd(struct ssh *ssh, int id, void *arg) in client_cleanup_stdio_fwd()
1809 ssh_stdio_confirm(struct ssh *ssh, int id, int success, void *arg) in ssh_stdio_confirm()
1816 ssh_tun_confirm(struct ssh *ssh, int id, int success, void *arg) in ssh_tun_confirm()
1829 ssh_init_stdio_forwarding(struct ssh *ssh) in ssh_init_stdio_forwarding()
1851 ssh_init_forwarding(struct ssh *ssh, char **ifname) in ssh_init_forwarding()
1940 ssh_session2_setup(struct ssh *ssh, int id, int success, void *arg) in ssh_session2_setup()
1984 ssh_session2_open(struct ssh *ssh) in ssh_session2_open()
2030 ssh_session2(struct ssh *ssh, struct passwd *pw) in ssh_session2()
Dauth2.c140 userauth_send_banner(struct ssh *ssh, const char *msg) in userauth_send_banner()
153 userauth_banner(struct ssh *ssh) in userauth_banner()
172 do_authentication2(struct ssh *ssh) in do_authentication2()
184 input_service_request(int type, u_int32_t seq, struct ssh *ssh) in input_service_request()
262 input_userauth_request(int type, u_int32_t seq, struct ssh *ssh) in input_userauth_request()
352 userauth_finish(struct ssh *ssh, int authenticated, const char *method, in userauth_finish()
/external/autotest/site_utils/rpm_control_system/
Drpm_controller.py313 def _hydra_login(self, ssh): argument
446 def _logout(self, ssh, admin_logout=False): argument
510 def _change_state(self, powerunit_info, new_state, ssh): argument
584 def _setup_test_user(self, ssh): argument
608 def _clear_outlet_names(self, ssh): argument
833 def _enter_configuration_terminal(self, interface, ssh): argument
866 def _exit_configuration_terminal(self, ssh): argument
887 def _verify_state(self, interface, expected_state, ssh): argument
923 def _logout(self, ssh, admin_logout=False): argument
935 def _change_state(self, powerunit_info, new_state, ssh): argument

123