diff options
author | Daniel Stenberg <daniel@haxx.se> | 2011-05-02 23:31:38 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2011-05-02 23:33:03 +0200 |
commit | 365db94e0a92cacfebd20aa660138ea5b67a02d3 (patch) | |
tree | 005924d20742de9f50ceb635ac5f5b070f9372e6 | |
parent | d4ebf3c6b0951dcec2157feb6e064ee636cd919b (diff) |
curl_easy_setopt.3: clarify the SSH KEYFILE options usage
The internal defaults are important info
-rw-r--r-- | docs/libcurl/curl_easy_setopt.3 | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/docs/libcurl/curl_easy_setopt.3 b/docs/libcurl/curl_easy_setopt.3 index 4522181b1..55b0db5ba 100644 --- a/docs/libcurl/curl_easy_setopt.3 +++ b/docs/libcurl/curl_easy_setopt.3 @@ -2103,13 +2103,15 @@ libcurl will reject the connection to the host unless the md5sums match. This option is only for SCP and SFTP transfers. (Added in 7.17.1) .IP CURLOPT_SSH_PUBLIC_KEYFILE Pass a char * pointing to a file name for your public key. If not used, -libcurl defaults to using \fB~/.ssh/id_dsa.pub\fP. -(Added in 7.16.1) +libcurl defaults to \fB$HOME/.ssh/id_dsa.pub\fP if the HOME environment +variable is set, and just "id_dsa.pub" in the current directory if HOME is not +set. (Added in 7.16.1) .IP CURLOPT_SSH_PRIVATE_KEYFILE Pass a char * pointing to a file name for your private key. If not used, -libcurl defaults to using \fB~/.ssh/id_dsa\fP. If the file is -password-protected, set the password with \fICURLOPT_KEYPASSWD\fP. (Added in -7.16.1) +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. If the +file is password-protected, set the password with +\fICURLOPT_KEYPASSWD\fP. (Added in 7.16.1) .IP CURLOPT_SSH_KNOWNHOSTS Pass a pointer to a zero terminated string holding the file name of the known_host file to use. The known_hosts file should use the OpenSSH file |