From 5a2abd34ce9ad97c69906c5fb7b07e26e96fceaa Mon Sep 17 00:00:00 2001 From: Ruben Garcia Azuara Date: Tue, 6 Apr 2010 20:07:01 +0200 Subject: Added support for StrictHostKeyChecking and UserKnownHostsFile parameters. Added OpenSSH parameters to libssh: - StrictHostKeyChecking - UserKnownHostsFile This parameters are useful to avoid checking the fingerprint. Eg: ~/.ssh/config: Host 192.10.20.30 StrictHostKeyChecking no UserKnownHostsFile /dev/null Signed-off-by: Ruben Garcia Azuara Signed-off-by: Andreas Schneider --- include/libssh/session.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/libssh/session.h') diff --git a/include/libssh/session.h b/include/libssh/session.h index 56352c10..2fb91d14 100644 --- a/include/libssh/session.h +++ b/include/libssh/session.h @@ -141,7 +141,7 @@ struct ssh_session_struct { socket_t fd; int ssh2; int ssh1; - + int StrictHostKeyChecking; }; int ssh_handle_packets(ssh_session session, int timeout); -- cgit