summaryrefslogtreecommitdiff
path: root/include/mscp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mscp.h')
-rw-r--r--include/mscp.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/mscp.h b/include/mscp.h
index 92f6e9e..f8ff0df 100644
--- a/include/mscp.h
+++ b/include/mscp.h
@@ -72,6 +72,17 @@ struct mscp_ssh_opts {
bool enable_nagle; /** enable Nagle's algorithm if true */
};
+/** @def
+ * Environment variable that passes password for ssh password auth
+ */
+#define ENV_SSH_AUTH_PASSWORD "MSCP_SSH_AUTH_PASSWORD"
+
+/** @def
+ * Environment vraible that passes passphrase for private key
+ */
+#define ENV_SSH_AUTH_PASSPHRASE "MSCP_SSH_AUTH_PASSPHRASE"
+
+
/**
* @struct mscp_stats
* @brief Structure to get mscp statistics