From e76442b650428425a1fbb97d621420216145a3bf Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Wed, 6 Mar 2013 20:44:13 +0100 Subject: ssh-agent: implement the clientside for agent forwarding auth. This can only be used to authenticate the client, not to allow the connected server to transfer agent requests Reviewed-by: Andreas Schneider --- include/libssh/libssh.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/libssh/libssh.h') diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h index 0ec64ab..20e8759 100644 --- a/include/libssh/libssh.h +++ b/include/libssh/libssh.h @@ -521,6 +521,7 @@ LIBSSH_API int ssh_scp_write(ssh_scp scp, const void *buffer, size_t len); LIBSSH_API int ssh_select(ssh_channel *channels, ssh_channel *outchannels, socket_t maxfd, fd_set *readfds, struct timeval *timeout); LIBSSH_API int ssh_service_request(ssh_session session, const char *service); +LIBSSH_API int ssh_set_agent_channel(ssh_session session, ssh_channel channel); LIBSSH_API void ssh_set_blocking(ssh_session session, int blocking); LIBSSH_API void ssh_set_fd_except(ssh_session session); LIBSSH_API void ssh_set_fd_toread(ssh_session session); -- cgit