]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
CURLOPT_SSH_PRIVATE_KEYFILE.3: expand on the file search
authorDaniel Stenberg <daniel@haxx.se>
Fri, 9 Jun 2023 17:10:30 +0000 (19:10 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 9 Jun 2023 21:26:08 +0000 (23:26 +0200)
Reported-by: atjg on github
Ref: #11287
Closes #11289

docs/libcurl/opts/CURLOPT_SSH_PRIVATE_KEYFILE.3

index 298c5bc1ccc88758c3cf54cacadca3afb3c0ee18..e23c874419510d9e46f5d30d55b6a09da5407453 100644 (file)
@@ -33,8 +33,9 @@ CURLcode curl_easy_setopt(CURL *handle, CURLOPT_SSH_PRIVATE_KEYFILE,
                           char *filename);
 .SH DESCRIPTION
 Pass a char * pointing to a \fIfilename\fP for your private key. If not used,
-libcurl defaults to \fB$HOME/.ssh/id_dsa\fP if the HOME environment variable
-is set, and just "id_dsa" in the current directory if HOME is not set.
+libcurl defaults to \fB$HOME/.ssh/id_rsa\fP or \fB$HOME/.ssh/id_dsa\fP if the
+HOME environment variable is set, and just \fB"id_rsa"\fP or \fB"id_dsa"\fP in
+the current directory if HOME is not set.
 
 If the file is password-protected, set the password with
 \fICURLOPT_KEYPASSWD(3)\fP.