summaryrefslogtreecommitdiff
path: root/man/sslconnect.1
blob: 9888e2340919fcc85b06fd62d5788f47d0dec257 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
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)