aboutsummaryrefslogtreecommitdiff
path: root/man/man1/slsf.1df
blob: 6d59ba3d06cc7e50dc2c6b566f321dcb9a097377 (plain) (blame)
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
.TH SLSF 1df "August 2022" "Manual page for slsf"
.SH NAME
.B slsf
\- list the first hostname on each line of ssh_config(5) files
.SH SYNOPSIS
.B slsf /etc/ssh_config ~/.ssh_config
.br
cat ~/.ssh_config |
.B slsf
.br
.SH DESCRIPTION
.B slsf
iterates through the ssh_config(5) files given as its input and prints a unique
list of the patterns given on each "Host" line containing no wildcards.  Most
users will probably want the sls(1df) frontend instead.
.P
Within the file, a comment "### nosls" on its own line will exclude all
following output unless an "### sls" comment is read to resume it again:
.P
    Host wanted1
    Host wanted2
    ### nosls
    Host excluded
    ### sls
    Host wanted3
.SH SEE ALSO
sls(1df), sra(1df), sta(1df), ssh(1), ssh_config(5)
.SH AUTHOR
Tom Ryder <tom@sanctum.geek.nz>