summaryrefslogtreecommitdiff
path: root/man/sslconnect.1
diff options
context:
space:
mode:
Diffstat (limited to 'man/sslconnect.1')
-rw-r--r--man/sslconnect.155
1 files changed, 55 insertions, 0 deletions
diff --git a/man/sslconnect.1 b/man/sslconnect.1
new file mode 100644
index 0000000..9888e23
--- /dev/null
+++ b/man/sslconnect.1
@@ -0,0 +1,55 @@
+.TH sslconnect 1
+.SH sslconnect
+sslconnect \- simple sslclient with verbose output
+.SH SYNOPSIS
+.B sslconnect
+[
+.I host
+.I port
+.I args
+]
+.SH DESCRIPTION
+.B sslconnect
+connects via the IP[v4|v6] protocol to
+.I host on
+.I port
+using TCP, and attempts an SSL connection.
+It sends its standard input to the server,
+printing a CR after each LF, and prints any data
+it receives from the server to standard output.
+.B sslconnect
+can be used to fetch binary data.
+It does no conversion other than SSL encoding
+and decoding on received data.
+
+If
+.I host
+is not supplied,
+.B sslconnect
+connects to the local host.
+
+If
+.I port
+is not supplied,
+.B sslconnect
+uses TCP port 465 (SMTPS) and thus is
+complementary to
+.BR mconnect .
+
+If
+.I args
+are supplied, they are passed to
+.B sslclient
+unmodified.
+
+Unlike a standard SMTP(S) client,
+.B sslconnect
+does not perform a DNS MX lookup,
+thus the FQDN or IP rof the MTA must be specified.
+.SH SEE ALSO
+sslserver(1),
+sslhandle(1),
+sslclient(1),
+sslcat(1),
+https@(1),
+tcp-environ(5)