Home
last modified time | relevance | path

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

/third_party/curl/lib/vssh/
Dwolfssh.c255 rc = wolfSSH_SFTP_SendWritePacket(sshc->ssh_session, sshc->handle, in wsftp_send()
261 rc = wolfSSH_get_error(sshc->ssh_session); in wsftp_send()
299 rc = wolfSSH_SFTP_SendReadPacket(sshc->ssh_session, sshc->handle, in wsftp_recv()
304 rc = wolfSSH_get_error(sshc->ssh_session); in wsftp_recv()
392 sshc->ssh_session = wolfSSH_new(sshc->ctx); in wssh_connect()
393 if(!sshc->ssh_session) { in wssh_connect()
398 rc = wolfSSH_SetUsername(sshc->ssh_session, conn->user); in wssh_connect()
406 wolfSSH_SetUserAuthCtx(sshc->ssh_session, data); in wssh_connect()
408 rc = wolfSSH_set_fd(sshc->ssh_session, (int)sock); in wssh_connect()
426 wolfSSH_free(sshc->ssh_session); in wssh_connect()
[all …]
Dlibssh.c348 rc = ssh_get_server_publickey(sshc->ssh_session, &pubkey); in myssh_is_known()
350 rc = ssh_get_publickey(sshc->ssh_session, &pubkey); in myssh_is_known()
392 vstate = ssh_session_get_known_hosts_entry(sshc->ssh_session, in myssh_is_known()
452 vstate = ssh_is_server_known(sshc->ssh_session); in myssh_is_known()
513 rc = ssh_session_update_known_hosts(sshc->ssh_session); in myssh_is_known()
515 rc = ssh_write_knownhost(sshc->ssh_session); in myssh_is_known()
607 rc = ssh_userauth_kbdint(sshc->ssh_session, NULL, NULL); in myssh_auth_interactive()
614 nprompts = ssh_userauth_kbdint_getnprompts(sshc->ssh_session); in myssh_auth_interactive()
618 rc = ssh_userauth_kbdint_setanswer(sshc->ssh_session, 0, conn->passwd); in myssh_auth_interactive()
626 rc = ssh_userauth_kbdint(sshc->ssh_session, NULL, NULL); in myssh_auth_interactive()
[all …]
Dlibssh2.c448 const char *remotekey = libssh2_session_hostkey(sshc->ssh_session, in ssh_knownhost()
621 const char *fingerprint = libssh2_hostkey_hash(sshc->ssh_session, in ssh_check_fingerprint()
774 sshc->ssh_session, LIBSSH2_METHOD_HOSTKEY, hostkey_method)); in ssh_force_knownhost_key_type()
817 libssh2_session_set_blocking(sshc->ssh_session, 0); in ssh_statemach_act()
830 rc = libssh2_session_startup(sshc->ssh_session, (int)sock); in ssh_statemach_act()
836 (void)libssh2_session_last_error(sshc->ssh_session, &err_msg, NULL, 0); in ssh_statemach_act()
870 sshc->authlist = libssh2_userauth_list(sshc->ssh_session, in ssh_statemach_act()
875 if(libssh2_userauth_authenticated(sshc->ssh_session)) { in ssh_statemach_act()
881 ssherr = libssh2_session_last_errno(sshc->ssh_session); in ssh_statemach_act()
988 rc = libssh2_userauth_publickey_fromfile_ex(sshc->ssh_session, in ssh_statemach_act()
[all …]
Dssh.h165 ssh_session ssh_session; member
181 LIBSSH2_SESSION *ssh_session; /* Secure Shell session */ member
204 WOLFSSH *ssh_session; member
/third_party/ffmpeg/libavformat/
Dlibssh.c34 ssh_session session;