Home
last modified time | relevance | path

Searched refs:ssh_session (Results 1 – 4 of 4) sorted by relevance

/external/curl/lib/
Dssh-libssh.c332 rc = ssh_get_publickey(sshc->ssh_session, &pubkey); in myssh_is_known()
357 vstate = ssh_is_server_known(sshc->ssh_session); in myssh_is_known()
411 rc = ssh_write_knownhost(sshc->ssh_session); in myssh_is_known()
492 rc = ssh_userauth_kbdint(sshc->ssh_session, NULL, NULL); in myssh_auth_interactive()
499 nprompts = ssh_userauth_kbdint_getnprompts(sshc->ssh_session); in myssh_auth_interactive()
503 rc = ssh_userauth_kbdint_setanswer(sshc->ssh_session, 0, conn->passwd); in myssh_auth_interactive()
511 rc = ssh_userauth_kbdint(sshc->ssh_session, NULL, NULL); in myssh_auth_interactive()
517 nprompts = ssh_userauth_kbdint_getnprompts(sshc->ssh_session); in myssh_auth_interactive()
530 rc = ssh_userauth_kbdint(sshc->ssh_session, NULL, NULL); in myssh_auth_interactive()
580 ssh_set_blocking(sshc->ssh_session, 0); in myssh_statemach_act()
[all …]
Dssh.c462 const char *remotekey = libssh2_session_hostkey(sshc->ssh_session, in ssh_knownhost()
596 const char *fingerprint = libssh2_hostkey_hash(sshc->ssh_session, in ssh_check_fingerprint()
659 libssh2_session_set_blocking(sshc->ssh_session, 0); in ssh_statemach_act()
665 rc = libssh2_session_startup(sshc->ssh_session, (int)sock); in ssh_statemach_act()
671 (void)libssh2_session_last_error(sshc->ssh_session, &err_msg, NULL, 0); in ssh_statemach_act()
705 sshc->authlist = libssh2_userauth_list(sshc->ssh_session, in ssh_statemach_act()
710 if(libssh2_userauth_authenticated(sshc->ssh_session)) { in ssh_statemach_act()
716 err = libssh2_session_last_errno(sshc->ssh_session); in ssh_statemach_act()
826 rc = libssh2_userauth_publickey_fromfile_ex(sshc->ssh_session, in ssh_statemach_act()
846 (void)libssh2_session_last_error(sshc->ssh_session, in ssh_statemach_act()
[all …]
Dssh.h152 ssh_session ssh_session; member
175 LIBSSH2_SESSION *ssh_session; /* Secure Shell session */ member
/external/openssh/
Dssh.c212 static int ssh_session(void);
1455 exit_status = compat20 ? ssh_session2() : ssh_session(); in main()
1700 ssh_session(void) in ssh_session() function