Query: curlopt_ssh_private_keyfile
OS: mojave
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
CURLOPT_SSH_PRIVATE_KEYFILE(3) curl_easy_setopt options CURLOPT_SSH_PRIVATE_KEYFILE(3)NAMECURLOPT_SSH_PRIVATE_KEYFILE - set private key file for SSH authSYNOPSIS#include <curl/curl.h> CURLcode curl_easy_setopt(CURL *handle, CURLOPT_SSH_PRIVATE_KEYFILE, char *filename);DESCRIPTIONPass a char * pointing to a filename for your private key. If not used, libcurl defaults to $HOME/.ssh/id_dsa if the HOME environment vari- able is set, and just "id_dsa" in the current directory if HOME is not set. If the file is password-protected, set the password with CURLOPT_KEYPASSWD(3). The application does not have to keep the string around after setting this option.DEFAULTAs explained abovePROTOCOLSSFTP and SCPEXAMPLETODOAVAILABILITYAdded in 7.16.1RETURN VALUEReturns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or CURLE_OUT_OF_MEMORY if there was insufficient heap space.SEE ALSOCURLOPT_SSH_PUBLIC_KEYFILE(3), CURLOPT_SSH_AUTH_TYPES(3), libcurl 7.54.0 December 21, 2016 CURLOPT_SSH_PRIVATE_KEYFILE(3)
Related Man Pages |
---|
curlopt_keypasswd(3) - mojave |
curlopt_password(3) - mojave |
curlopt_rtsp_session_id(3) - mojave |
curlopt_ssh_private_keyfile(3) - mojave |
curlopt_ssh_public_keyfile(3) - mojave |
Similar Topics in the Unix Linux Community |
---|
auto SSH help, I did STFW/RTFF |
SFTP - Pass password auti |
Copying files by using SCP in a Script |
Passwordless SFTP - SCP Option? |
SSH password less setup asking for password |