Debian Codegraph @

doc/output/html/cockpit-manual.html

raw
1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4 <meta charset="UTF-8">
5 <meta http-equiv="X-UA-Compatible" content="IE=edge">
6 <meta name="viewport" content="width=device-width, initial-scale=1.0">
7 <meta name="generator" content="Asciidoctor 2.0.26">
8 <title>Manual pages</title>
9 <style>
10 /*! Asciidoctor default stylesheet | MIT License | https://asciidoctor.org */
11 /* Uncomment the following line when using as a custom stylesheet */
12 /* @import "https://fonts.googleapis.com/css?family=Open+Sans:300,300italic,400,400italic,600,600italic%7CNoto+Serif:400,400italic,700,700italic%7CDroid+Sans+Mono:400,700"; */
13 html{font-family:sans-serif;-webkit-text-size-adjust:100%}
14 a{background:none}
15 a:focus{outline:thin dotted}
16 a:active,a:hover{outline:0}
17 h1{font-size:2em;margin:.67em 0}
18 b,strong{font-weight:bold}
19 abbr{font-size:.9em}
20 abbr[title]{cursor:help;border-bottom:1px dotted #dddddf;text-decoration:none}
21 dfn{font-style:italic}
22 hr{height:0}
23 mark{background:#ff0;color:#000}
24 code,kbd,pre,samp{font-family:monospace;font-size:1em}
25 pre{white-space:pre-wrap}
26 q{quotes:"\201C" "\201D" "\2018" "\2019"}
27 small{font-size:80%}
28 sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}
29 sup{top:-.5em}
30 sub{bottom:-.25em}
31 img{border:0}
32 svg:not(:root){overflow:hidden}
33 figure{margin:0}
34 audio,video{display:inline-block}
35 audio:not([controls]){display:none;height:0}
36 fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}
37 legend{border:0;padding:0}
38 button,input,select,textarea{font-family:inherit;font-size:100%;margin:0}
39 button,input{line-height:normal}
40 button,select{text-transform:none}
41 button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}
42 button[disabled],html input[disabled]{cursor:default}
43 input[type=checkbox],input[type=radio]{padding:0}
44 button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}
45 textarea{overflow:auto;vertical-align:top}
46 table{border-collapse:collapse;border-spacing:0}
47 *,::before,::after{box-sizing:border-box}
48 html,body{font-size:100%}
49 body{background:#fff;color:rgba(0,0,0,.8);padding:0;margin:0;font-family:"Noto Serif","DejaVu Serif",serif;line-height:1;position:relative;cursor:auto;-moz-tab-size:4;-o-tab-size:4;tab-size:4;word-wrap:anywhere;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}
50 a:hover{cursor:pointer}
51 img,object,embed{max-width:100%;height:auto}
52 object,embed{height:100%}
53 img{-ms-interpolation-mode:bicubic}
54 .left{float:left!important}
55 .right{float:right!important}
56 .text-left{text-align:left!important}
57 .text-right{text-align:right!important}
58 .text-center{text-align:center!important}
59 .text-justify{text-align:justify!important}
60 .hide{display:none}
61 img,object,svg{display:inline-block;vertical-align:middle}
62 textarea{height:auto;min-height:50px}
63 select{width:100%}
64 .subheader,.admonitionblock td.content>.title,.audioblock>.title,.exampleblock>.title,.imageblock>.title,.listingblock>.title,.literalblock>.title,.stemblock>.title,.openblock>.title,.paragraph>.title,.quoteblock>.title,table.tableblock>.title,.verseblock>.title,.videoblock>.title,.dlist>.title,.olist>.title,.ulist>.title,.qlist>.title,.hdlist>.title{line-height:1.45;color:#7a2518;font-weight:400;margin-top:0;margin-bottom:.25em}
65 div,dl,dt,dd,ul,ol,li,h1,h2,h3,#toctitle,.sidebarblock>.content>.title,h4,h5,h6,pre,form,p,blockquote,th,td{margin:0;padding:0}
66 a{color:#2156a5;text-decoration:underline;line-height:inherit}
67 a:hover,a:focus{color:#1d4b8f}
68 a img{border:0}
69 p{line-height:1.6;margin-bottom:1.25em;text-rendering:optimizeLegibility}
70 p aside{font-size:.875em;line-height:1.35;font-style:italic}
71 h1,h2,h3,#toctitle,.sidebarblock>.content>.title,h4,h5,h6{font-family:"Open Sans","DejaVu Sans",sans-serif;font-weight:300;font-style:normal;color:#ba3925;text-rendering:optimizeLegibility;margin-top:1em;margin-bottom:.5em;line-height:1.0125em}
72 h1 small,h2 small,h3 small,#toctitle small,.sidebarblock>.content>.title small,h4 small,h5 small,h6 small{font-size:60%;color:#e99b8f;line-height:0}
73 h1{font-size:2.125em}
74 h2{font-size:1.6875em}
75 h3,#toctitle,.sidebarblock>.content>.title{font-size:1.375em}
76 h4,h5{font-size:1.125em}
77 h6{font-size:1em}
78 hr{border:solid #dddddf;border-width:1px 0 0;clear:both;margin:1.25em 0 1.1875em}
79 em,i{font-style:italic;line-height:inherit}
80 strong,b{font-weight:bold;line-height:inherit}
81 small{font-size:60%;line-height:inherit}
82 code{font-family:"Droid Sans Mono","DejaVu Sans Mono",monospace;font-weight:400;color:rgba(0,0,0,.9)}
83 ul,ol,dl{line-height:1.6;margin-bottom:1.25em;list-style-position:outside;font-family:inherit}
84 ul,ol{margin-left:1.5em}
85 ul li ul,ul li ol{margin-left:1.25em;margin-bottom:0}
86 ul.circle{list-style-type:circle}
87 ul.disc{list-style-type:disc}
88 ul.square{list-style-type:square}
89 ul.circle ul:not([class]),ul.disc ul:not([class]),ul.square ul:not([class]){list-style:inherit}
90 ol li ul,ol li ol{margin-left:1.25em;margin-bottom:0}
91 dl dt{margin-bottom:.3125em;font-weight:bold}
92 dl dd{margin-bottom:1.25em}
93 blockquote{margin:0 0 1.25em;padding:.5625em 1.25em 0 1.1875em;border-left:1px solid #ddd}
94 blockquote,blockquote p{line-height:1.6;color:rgba(0,0,0,.85)}
95 @media screen and (min-width:768px){h1,h2,h3,#toctitle,.sidebarblock>.content>.title,h4,h5,h6{line-height:1.2}
96 h1{font-size:2.75em}
97 h2{font-size:2.3125em}
98 h3,#toctitle,.sidebarblock>.content>.title{font-size:1.6875em}
99 h4{font-size:1.4375em}}
100 table{background:#fff;margin-bottom:1.25em;border:1px solid #dedede;word-wrap:normal}
101 table thead,table tfoot{background:#f7f8f7}
102 table thead tr th,table thead tr td,table tfoot tr th,table tfoot tr td{padding:.5em .625em .625em;font-size:inherit;color:rgba(0,0,0,.8);text-align:left}
103 table tr th,table tr td{padding:.5625em .625em;font-size:inherit;color:rgba(0,0,0,.8)}
104 table tr.even,table tr.alt{background:#f8f8f7}
105 table thead tr th,table tfoot tr th,table tbody tr td,table tr td,table tfoot tr td{line-height:1.6}
106 h1,h2,h3,#toctitle,.sidebarblock>.content>.title,h4,h5,h6{line-height:1.2;word-spacing:-.05em}
107 h1 strong,h2 strong,h3 strong,#toctitle strong,.sidebarblock>.content>.title strong,h4 strong,h5 strong,h6 strong{font-weight:400}
108 .center{margin-left:auto;margin-right:auto}
109 .stretch{width:100%}
110 .clearfix::before,.clearfix::after,.float-group::before,.float-group::after{content:" ";display:table}
111 .clearfix::after,.float-group::after{clear:both}
112 :not(pre).nobreak{word-wrap:normal}
113 :not(pre).nowrap{white-space:nowrap}
114 :not(pre).pre-wrap{white-space:pre-wrap}
115 :not(pre):not([class^=L])>code{font-size:.9375em;font-style:normal!important;letter-spacing:0;padding:.1em .5ex;word-spacing:-.15em;background:#f7f7f8;border-radius:4px;line-height:1.45;text-rendering:optimizeSpeed}
116 pre{color:rgba(0,0,0,.9);font-family:"Droid Sans Mono","DejaVu Sans Mono",monospace;line-height:1.45;text-rendering:optimizeSpeed}
117 pre code,pre pre{color:inherit;font-size:inherit;line-height:inherit}
118 pre.nowrap,pre.nowrap pre{white-space:pre;word-wrap:normal}
119 em em{font-style:normal}
120 strong strong{font-weight:400}
121 .keyseq{color:rgba(51,51,51,.8)}
122 kbd{font-family:"Droid Sans Mono","DejaVu Sans Mono",monospace;display:inline-block;color:rgba(0,0,0,.8);font-size:.65em;line-height:1.45;background:#f7f7f7;border:1px solid #ccc;border-radius:3px;box-shadow:0 1px 0 rgba(0,0,0,.2),inset 0 0 0 .1em #fff;margin:0 .15em;padding:.2em .5em;vertical-align:middle;position:relative;top:-.1em;white-space:nowrap}
123 .keyseq kbd:first-child{margin-left:0}
124 .keyseq kbd:last-child{margin-right:0}
125 .menuseq,.menuref{color:#000}
126 .menuseq b:not(.caret),.menuref{font-weight:inherit}
127 .menuseq{word-spacing:-.02em}
128 .menuseq b.caret{font-size:1.25em;line-height:.8}
129 .menuseq i.caret{font-weight:bold;text-align:center;width:.45em}
130 b.button::before,b.button::after{position:relative;top:-1px;font-weight:400}
131 b.button::before{content:"[";padding:0 3px 0 2px}
132 b.button::after{content:"]";padding:0 2px 0 3px}
133 p a>code:hover{color:rgba(0,0,0,.9)}
134 #header,#content,#footnotes,#footer{width:100%;margin:0 auto;max-width:62.5em;*zoom:1;position:relative;padding-left:.9375em;padding-right:.9375em}
135 #header::before,#header::after,#content::before,#content::after,#footnotes::before,#footnotes::after,#footer::before,#footer::after{content:" ";display:table}
136 #header::after,#content::after,#footnotes::after,#footer::after{clear:both}
137 #content{margin-top:1.25em}
138 #content::before{content:none}
139 #header>h1:first-child{color:rgba(0,0,0,.85);margin-top:2.25rem;margin-bottom:0}
140 #header>h1:first-child+#toc{margin-top:8px;border-top:1px solid #dddddf}
141 #header>h1:only-child{border-bottom:1px solid #dddddf;padding-bottom:8px}
142 #header .details{border-bottom:1px solid #dddddf;line-height:1.45;padding-top:.25em;padding-bottom:.25em;padding-left:.25em;color:rgba(0,0,0,.6);display:flex;flex-flow:row wrap}
143 #header .details span:first-child{margin-left:-.125em}
144 #header .details span.email a{color:rgba(0,0,0,.85)}
145 #header .details br{display:none}
146 #header .details br+span::before{content:"\00a0\2013\00a0"}
147 #header .details br+span.author::before{content:"\00a0\22c5\00a0";color:rgba(0,0,0,.85)}
148 #header .details br+span#revremark::before{content:"\00a0|\00a0"}
149 #header #revnumber{text-transform:capitalize}
150 #header #revnumber::after{content:"\00a0"}
151 #content>h1:first-child:not([class]){color:rgba(0,0,0,.85);border-bottom:1px solid #dddddf;padding-bottom:8px;margin-top:0;padding-top:1rem;margin-bottom:1.25rem}
152 #toc{border-bottom:1px solid #e7e7e9;padding-bottom:.5em}
153 #toc>ul{margin-left:.125em}
154 #toc ul.sectlevel0>li>a{font-style:italic}
155 #toc ul.sectlevel0 ul.sectlevel1{margin:.5em 0}
156 #toc ul{font-family:"Open Sans","DejaVu Sans",sans-serif;list-style-type:none}
157 #toc li{line-height:1.3334;margin-top:.3334em}
158 #toc a{text-decoration:none}
159 #toc a:active{text-decoration:underline}
160 #toctitle{color:#7a2518;font-size:1.2em}
161 @media screen and (min-width:768px){#toctitle{font-size:1.375em}
162 body.toc2{padding-left:15em;padding-right:0}
163 body.toc2 #header>h1:nth-last-child(2){border-bottom:1px solid #dddddf;padding-bottom:8px}
164 #toc.toc2{margin-top:0!important;background:#f8f8f7;position:fixed;width:15em;left:0;top:0;border-right:1px solid #e7e7e9;border-top-width:0!important;border-bottom-width:0!important;z-index:1000;padding:1.25em 1em;height:100%;overflow:auto}
165 #toc.toc2 #toctitle{margin-top:0;margin-bottom:.8rem;font-size:1.2em}
166 #toc.toc2>ul{font-size:.9em;margin-bottom:0}
167 #toc.toc2 ul ul{margin-left:0;padding-left:1em}
168 #toc.toc2 ul.sectlevel0 ul.sectlevel1{padding-left:0;margin-top:.5em;margin-bottom:.5em}
169 body.toc2.toc-right{padding-left:0;padding-right:15em}
170 body.toc2.toc-right #toc.toc2{border-right-width:0;border-left:1px solid #e7e7e9;left:auto;right:0}}
171 @media screen and (min-width:1280px){body.toc2{padding-left:20em;padding-right:0}
172 #toc.toc2{width:20em}
173 #toc.toc2 #toctitle{font-size:1.375em}
174 #toc.toc2>ul{font-size:.95em}
175 #toc.toc2 ul ul{padding-left:1.25em}
176 body.toc2.toc-right{padding-left:0;padding-right:20em}}
177 #content #toc{border:1px solid #e0e0dc;margin-bottom:1.25em;padding:1.25em;background:#f8f8f7;border-radius:4px}
178 #content #toc>:first-child{margin-top:0}
179 #content #toc>:last-child{margin-bottom:0}
180 #footer{max-width:none;background:rgba(0,0,0,.8);padding:1.25em}
181 #footer-text{color:hsla(0,0%,100%,.8);line-height:1.44}
182 #content{margin-bottom:.625em}
183 .sect1{padding-bottom:.625em}
184 @media screen and (min-width:768px){#content{margin-bottom:1.25em}
185 .sect1{padding-bottom:1.25em}}
186 .sect1:last-child{padding-bottom:0}
187 .sect1+.sect1{border-top:1px solid #e7e7e9}
188 #content h1>a.anchor,h2>a.anchor,h3>a.anchor,#toctitle>a.anchor,.sidebarblock>.content>.title>a.anchor,h4>a.anchor,h5>a.anchor,h6>a.anchor{position:absolute;z-index:1001;width:1.5ex;margin-left:-1.5ex;display:block;text-decoration:none!important;visibility:hidden;text-align:center;font-weight:400}
189 #content h1>a.anchor::before,h2>a.anchor::before,h3>a.anchor::before,#toctitle>a.anchor::before,.sidebarblock>.content>.title>a.anchor::before,h4>a.anchor::before,h5>a.anchor::before,h6>a.anchor::before{content:"\00A7";font-size:.85em;display:block;padding-top:.1em}
190 #content h1:hover>a.anchor,#content h1>a.anchor:hover,h2:hover>a.anchor,h2>a.anchor:hover,h3:hover>a.anchor,#toctitle:hover>a.anchor,.sidebarblock>.content>.title:hover>a.anchor,h3>a.anchor:hover,#toctitle>a.anchor:hover,.sidebarblock>.content>.title>a.anchor:hover,h4:hover>a.anchor,h4>a.anchor:hover,h5:hover>a.anchor,h5>a.anchor:hover,h6:hover>a.anchor,h6>a.anchor:hover{visibility:visible}
191 #content h1>a.link,h2>a.link,h3>a.link,#toctitle>a.link,.sidebarblock>.content>.title>a.link,h4>a.link,h5>a.link,h6>a.link{color:#ba3925;text-decoration:none}
192 #content h1>a.link:hover,h2>a.link:hover,h3>a.link:hover,#toctitle>a.link:hover,.sidebarblock>.content>.title>a.link:hover,h4>a.link:hover,h5>a.link:hover,h6>a.link:hover{color:#a53221}
193 details,.audioblock,.imageblock,.literalblock,.listingblock,.stemblock,.videoblock{margin-bottom:1.25em}
194 details{margin-left:1.25rem}
195 details>summary{cursor:pointer;display:block;position:relative;line-height:1.6;margin-bottom:.625rem;outline:none;-webkit-tap-highlight-color:transparent}
196 details>summary::-webkit-details-marker{display:none}
197 details>summary::before{content:"";border:solid transparent;border-left:solid;border-width:.3em 0 .3em .5em;position:absolute;top:.5em;left:-1.25rem;transform:translateX(15%)}
198 details[open]>summary::before{border:solid transparent;border-top:solid;border-width:.5em .3em 0;transform:translateY(15%)}
199 details>summary::after{content:"";width:1.25rem;height:1em;position:absolute;top:.3em;left:-1.25rem}
200 .admonitionblock td.content>.title,.audioblock>.title,.exampleblock>.title,.imageblock>.title,.listingblock>.title,.literalblock>.title,.stemblock>.title,.openblock>.title,.paragraph>.title,.quoteblock>.title,table.tableblock>.title,.verseblock>.title,.videoblock>.title,.dlist>.title,.olist>.title,.ulist>.title,.qlist>.title,.hdlist>.title{text-rendering:optimizeLegibility;text-align:left;font-family:"Noto Serif","DejaVu Serif",serif;font-size:1rem;font-style:italic}
201 table.tableblock.fit-content>caption.title{white-space:nowrap;width:0}
202 .paragraph.lead>p,#preamble>.sectionbody>[class=paragraph]:first-of-type p{font-size:1.21875em;line-height:1.6;color:rgba(0,0,0,.85)}
203 .admonitionblock>table{border-collapse:separate;border:0;background:none;width:100%}
204 .admonitionblock>table td.icon{text-align:center;width:80px}
205 .admonitionblock>table td.icon img{max-width:none}
206 .admonitionblock>table td.icon .title{font-weight:bold;font-family:"Open Sans","DejaVu Sans",sans-serif;text-transform:uppercase}
207 .admonitionblock>table td.content{padding-left:1.125em;padding-right:1.25em;border-left:1px solid #dddddf;color:rgba(0,0,0,.6);word-wrap:anywhere}
208 .admonitionblock>table td.content>:last-child>:last-child{margin-bottom:0}
209 .exampleblock>.content{border:1px solid #e6e6e6;margin-bottom:1.25em;padding:1.25em;background:#fff;border-radius:4px}
210 .sidebarblock{border:1px solid #dbdbd6;margin-bottom:1.25em;padding:1.25em;background:#f3f3f2;border-radius:4px}
211 .sidebarblock>.content>.title{color:#7a2518;margin-top:0;text-align:center}
212 .exampleblock>.content>:first-child,.sidebarblock>.content>:first-child{margin-top:0}
213 .exampleblock>.content>:last-child,.exampleblock>.content>:last-child>:last-child,.exampleblock>.content .olist>ol>li:last-child>:last-child,.exampleblock>.content .ulist>ul>li:last-child>:last-child,.exampleblock>.content .qlist>ol>li:last-child>:last-child,.sidebarblock>.content>:last-child,.sidebarblock>.content>:last-child>:last-child,.sidebarblock>.content .olist>ol>li:last-child>:last-child,.sidebarblock>.content .ulist>ul>li:last-child>:last-child,.sidebarblock>.content .qlist>ol>li:last-child>:last-child{margin-bottom:0}
214 .literalblock pre,.listingblock>.content>pre{border-radius:4px;overflow-x:auto;padding:1em;font-size:.8125em}
215 @media screen and (min-width:768px){.literalblock pre,.listingblock>.content>pre{font-size:.90625em}}
216 @media screen and (min-width:1280px){.literalblock pre,.listingblock>.content>pre{font-size:1em}}
217 .literalblock pre,.listingblock>.content>pre:not(.highlight),.listingblock>.content>pre[class=highlight],.listingblock>.content>pre[class^="highlight "]{background:#f7f7f8}
218 .literalblock.output pre{color:#f7f7f8;background:rgba(0,0,0,.9)}
219 .listingblock>.content{position:relative}
220 .listingblock pre>code{display:block}
221 .listingblock code[data-lang]::before{display:none;content:attr(data-lang);position:absolute;font-size:.75em;top:.425rem;right:.5rem;line-height:1;text-transform:uppercase;color:inherit;opacity:.5}
222 .listingblock:hover code[data-lang]::before{display:block}
223 .listingblock.terminal pre .command::before{content:attr(data-prompt);padding-right:.5em;color:inherit;opacity:.5}
224 .listingblock.terminal pre .command:not([data-prompt])::before{content:"$"}
225 .listingblock pre.highlightjs{padding:0}
226 .listingblock pre.highlightjs>code{padding:1em;border-radius:4px}
227 .listingblock pre.prettyprint{border-width:0}
228 .prettyprint{background:#f7f7f8}
229 pre.prettyprint .linenums{line-height:1.45;margin-left:2em}
230 pre.prettyprint li{background:none;list-style-type:inherit;padding-left:0}
231 pre.prettyprint li code[data-lang]::before{opacity:1}
232 pre.prettyprint li:not(:first-child) code[data-lang]::before{display:none}
233 table.linenotable{border-collapse:separate;border:0;margin-bottom:0;background:none}
234 table.linenotable td[class]{color:inherit;vertical-align:top;padding:0;line-height:inherit;white-space:normal}
235 table.linenotable td.code{padding-left:.75em}
236 table.linenotable td.linenos,pre.pygments .linenos{border-right:1px solid;opacity:.35;padding-right:.5em;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}
237 pre.pygments span.linenos{display:inline-block;margin-right:.75em}
238 .quoteblock{margin:0 1em 1.25em 1.5em;display:table}
239 .quoteblock:not(.excerpt)>.title{margin-left:-1.5em;margin-bottom:.75em}
240 .quoteblock blockquote,.quoteblock p{color:rgba(0,0,0,.85);font-size:1.15rem;line-height:1.75;word-spacing:.1em;letter-spacing:0;font-style:italic;text-align:justify}
241 .quoteblock blockquote{margin:0;padding:0;border:0}
242 .quoteblock blockquote::before{content:"\201c";float:left;font-size:2.75em;font-weight:bold;line-height:.6em;margin-left:-.6em;color:#7a2518;text-shadow:0 1px 2px rgba(0,0,0,.1)}
243 .quoteblock blockquote>.paragraph:last-child p{margin-bottom:0}
244 .quoteblock .attribution{margin-top:.75em;margin-right:.5ex;text-align:right}
245 .verseblock{margin:0 1em 1.25em}
246 .verseblock pre{font-family:"Open Sans","DejaVu Sans",sans-serif;font-size:1.15rem;color:rgba(0,0,0,.85);font-weight:300;text-rendering:optimizeLegibility}
247 .verseblock pre strong{font-weight:400}
248 .verseblock .attribution{margin-top:1.25rem;margin-left:.5ex}
249 .quoteblock .attribution,.verseblock .attribution{font-size:.9375em;line-height:1.45;font-style:italic}
250 .quoteblock .attribution br,.verseblock .attribution br{display:none}
251 .quoteblock .attribution cite,.verseblock .attribution cite{display:block;letter-spacing:-.025em;color:rgba(0,0,0,.6)}
252 .quoteblock.abstract blockquote::before,.quoteblock.excerpt blockquote::before,.quoteblock .quoteblock blockquote::before{display:none}
253 .quoteblock.abstract blockquote,.quoteblock.abstract p,.quoteblock.excerpt blockquote,.quoteblock.excerpt p,.quoteblock .quoteblock blockquote,.quoteblock .quoteblock p{line-height:1.6;word-spacing:0}
254 .quoteblock.abstract{margin:0 1em 1.25em;display:block}
255 .quoteblock.abstract>.title{margin:0 0 .375em;font-size:1.15em;text-align:center}
256 .quoteblock.excerpt>blockquote,.quoteblock .quoteblock{padding:0 0 .25em 1em;border-left:.25em solid #dddddf}
257 .quoteblock.excerpt,.quoteblock .quoteblock{margin-left:0}
258 .quoteblock.excerpt blockquote,.quoteblock.excerpt p,.quoteblock .quoteblock blockquote,.quoteblock .quoteblock p{color:inherit;font-size:1.0625rem}
259 .quoteblock.excerpt .attribution,.quoteblock .quoteblock .attribution{color:inherit;font-size:.85rem;text-align:left;margin-right:0}
260 p.tableblock:last-child{margin-bottom:0}
261 td.tableblock>.content{margin-bottom:1.25em;word-wrap:anywhere}
262 td.tableblock>.content>:last-child{margin-bottom:-1.25em}
263 table.tableblock,th.tableblock,td.tableblock{border:0 solid #dedede}
264 table.grid-all>*>tr>*{border-width:1px}
265 table.grid-cols>*>tr>*{border-width:0 1px}
266 table.grid-rows>*>tr>*{border-width:1px 0}
267 table.frame-all{border-width:1px}
268 table.frame-ends{border-width:1px 0}
269 table.frame-sides{border-width:0 1px}
270 table.frame-none>colgroup+*>:first-child>*,table.frame-sides>colgroup+*>:first-child>*{border-top-width:0}
271 table.frame-none>:last-child>:last-child>*,table.frame-sides>:last-child>:last-child>*{border-bottom-width:0}
272 table.frame-none>*>tr>:first-child,table.frame-ends>*>tr>:first-child{border-left-width:0}
273 table.frame-none>*>tr>:last-child,table.frame-ends>*>tr>:last-child{border-right-width:0}
274 table.stripes-all>*>tr,table.stripes-odd>*>tr:nth-of-type(odd),table.stripes-even>*>tr:nth-of-type(even),table.stripes-hover>*>tr:hover{background:#f8f8f7}
275 th.halign-left,td.halign-left{text-align:left}
276 th.halign-right,td.halign-right{text-align:right}
277 th.halign-center,td.halign-center{text-align:center}
278 th.valign-top,td.valign-top{vertical-align:top}
279 th.valign-bottom,td.valign-bottom{vertical-align:bottom}
280 th.valign-middle,td.valign-middle{vertical-align:middle}
281 table thead th,table tfoot th{font-weight:bold}
282 tbody tr th{background:#f7f8f7}
283 tbody tr th,tbody tr th p,tfoot tr th,tfoot tr th p{color:rgba(0,0,0,.8);font-weight:bold}
284 p.tableblock>code:only-child{background:none;padding:0}
285 p.tableblock{font-size:1em}
286 ol{margin-left:1.75em}
287 ul li ol{margin-left:1.5em}
288 dl dd{margin-left:1.125em}
289 dl dd:last-child,dl dd:last-child>:last-child{margin-bottom:0}
290 li p,ul dd,ol dd,.olist .olist,.ulist .ulist,.ulist .olist,.olist .ulist{margin-bottom:.625em}
291 ul.checklist,ul.none,ol.none,ul.no-bullet,ol.no-bullet,ol.unnumbered,ul.unstyled,ol.unstyled{list-style-type:none}
292 ul.no-bullet,ol.no-bullet,ol.unnumbered{margin-left:.625em}
293 ul.unstyled,ol.unstyled{margin-left:0}
294 li>p:empty:only-child::before{content:"";display:inline-block}
295 ul.checklist>li>p:first-child{margin-left:-1em}
296 ul.checklist>li>p:first-child>.fa-square-o:first-child,ul.checklist>li>p:first-child>.fa-check-square-o:first-child{width:1.25em;font-size:.8em;position:relative;bottom:.125em}
297 ul.checklist>li>p:first-child>input[type=checkbox]:first-child{margin-right:.25em}
298 ul.inline{display:flex;flex-flow:row wrap;list-style:none;margin:0 0 .625em -1.25em}
299 ul.inline>li{margin-left:1.25em}
300 .unstyled dl dt{font-weight:400;font-style:normal}
301 ol.arabic{list-style-type:decimal}
302 ol.decimal{list-style-type:decimal-leading-zero}
303 ol.loweralpha{list-style-type:lower-alpha}
304 ol.upperalpha{list-style-type:upper-alpha}
305 ol.lowerroman{list-style-type:lower-roman}
306 ol.upperroman{list-style-type:upper-roman}
307 ol.lowergreek{list-style-type:lower-greek}
308 .hdlist>table,.colist>table{border:0;background:none}
309 .hdlist>table>tbody>tr,.colist>table>tbody>tr{background:none}
310 td.hdlist1,td.hdlist2{vertical-align:top;padding:0 .625em}
311 td.hdlist1{font-weight:bold;padding-bottom:1.25em}
312 td.hdlist2{word-wrap:anywhere}
313 .literalblock+.colist,.listingblock+.colist{margin-top:-.5em}
314 .colist td:not([class]):first-child{padding:.4em .75em 0;line-height:1;vertical-align:top}
315 .colist td:not([class]):first-child img{max-width:none}
316 .colist td:not([class]):last-child{padding:.25em 0}
317 .thumb,.th{line-height:0;display:inline-block;border:4px solid #fff;box-shadow:0 0 0 1px #ddd}
318 .imageblock.left{margin:.25em .625em 1.25em 0}
319 .imageblock.right{margin:.25em 0 1.25em .625em}
320 .imageblock>.title{margin-bottom:0}
321 .imageblock.thumb,.imageblock.th{border-width:6px}
322 .imageblock.thumb>.title,.imageblock.th>.title{padding:0 .125em}
323 .image.left,.image.right{margin-top:.25em;margin-bottom:.25em;display:inline-block;line-height:0}
324 .image.left{margin-right:.625em}
325 .image.right{margin-left:.625em}
326 a.image{text-decoration:none;display:inline-block}
327 a.image object{pointer-events:none}
328 sup.footnote,sup.footnoteref{font-size:.875em;position:static;vertical-align:super}
329 sup.footnote a,sup.footnoteref a{text-decoration:none}
330 sup.footnote a:active,sup.footnoteref a:active,#footnotes .footnote a:first-of-type:active{text-decoration:underline}
331 #footnotes{padding-top:.75em;padding-bottom:.75em;margin-bottom:.625em}
332 #footnotes hr{width:20%;min-width:6.25em;margin:-.25em 0 .75em;border-width:1px 0 0}
333 #footnotes .footnote{padding:0 .375em 0 .225em;line-height:1.3334;font-size:.875em;margin-left:1.2em;margin-bottom:.2em}
334 #footnotes .footnote a:first-of-type{font-weight:bold;text-decoration:none;margin-left:-1.05em}
335 #footnotes .footnote:last-of-type{margin-bottom:0}
336 #content #footnotes{margin-top:-.625em;margin-bottom:0;padding:.75em 0}
337 div.unbreakable{page-break-inside:avoid}
338 .big{font-size:larger}
339 .small{font-size:smaller}
340 .underline{text-decoration:underline}
341 .overline{text-decoration:overline}
342 .line-through{text-decoration:line-through}
343 .aqua{color:#00bfbf}
344 .aqua-background{background:#00fafa}
345 .black{color:#000}
346 .black-background{background:#000}
347 .blue{color:#0000bf}
348 .blue-background{background:#0000fa}
349 .fuchsia{color:#bf00bf}
350 .fuchsia-background{background:#fa00fa}
351 .gray{color:#606060}
352 .gray-background{background:#7d7d7d}
353 .green{color:#006000}
354 .green-background{background:#007d00}
355 .lime{color:#00bf00}
356 .lime-background{background:#00fa00}
357 .maroon{color:#600000}
358 .maroon-background{background:#7d0000}
359 .navy{color:#000060}
360 .navy-background{background:#00007d}
361 .olive{color:#606000}
362 .olive-background{background:#7d7d00}
363 .purple{color:#600060}
364 .purple-background{background:#7d007d}
365 .red{color:#bf0000}
366 .red-background{background:#fa0000}
367 .silver{color:#909090}
368 .silver-background{background:#bcbcbc}
369 .teal{color:#006060}
370 .teal-background{background:#007d7d}
371 .white{color:#bfbfbf}
372 .white-background{background:#fafafa}
373 .yellow{color:#bfbf00}
374 .yellow-background{background:#fafa00}
375 span.icon>.fa{cursor:default}
376 a span.icon>.fa{cursor:inherit}
377 .admonitionblock td.icon [class^="fa icon-"]{font-size:2.5em;text-shadow:1px 1px 2px rgba(0,0,0,.5);cursor:default}
378 .admonitionblock td.icon .icon-note::before{content:"\f05a";color:#19407c}
379 .admonitionblock td.icon .icon-tip::before{content:"\f0eb";text-shadow:1px 1px 2px rgba(155,155,0,.8);color:#111}
380 .admonitionblock td.icon .icon-warning::before{content:"\f071";color:#bf6900}
381 .admonitionblock td.icon .icon-caution::before{content:"\f06d";color:#bf3400}
382 .admonitionblock td.icon .icon-important::before{content:"\f06a";color:#bf0000}
383 .conum[data-value]{display:inline-block;color:#fff!important;background:rgba(0,0,0,.8);border-radius:50%;text-align:center;font-size:.75em;width:1.67em;height:1.67em;line-height:1.67em;font-family:"Open Sans","DejaVu Sans",sans-serif;font-style:normal;font-weight:bold}
384 .conum[data-value] *{color:#fff!important}
385 .conum[data-value]+b{display:none}
386 .conum[data-value]::after{content:attr(data-value)}
387 pre .conum[data-value]{position:relative;top:-.125em}
388 b.conum *{color:inherit!important}
389 .conum:not([data-value]):empty{display:none}
390 dt,th.tableblock,td.content,div.footnote{text-rendering:optimizeLegibility}
391 h1,h2,p,td.content,span.alt,summary{letter-spacing:-.01em}
392 p strong,td.content strong,div.footnote strong{letter-spacing:-.005em}
393 p,blockquote,dt,td.content,td.hdlist1,span.alt,summary{font-size:1.0625rem}
394 p{margin-bottom:1.25rem}
395 .sidebarblock p,.sidebarblock dt,.sidebarblock td.content,p.tableblock{font-size:1em}
396 .exampleblock>.content{background:#fffef7;border-color:#e0e0dc;box-shadow:0 1px 4px #e0e0dc}
397 .print-only{display:none!important}
398 @page{margin:1.25cm .75cm}
399 @media print{*{box-shadow:none!important;text-shadow:none!important}
400 html{font-size:80%}
401 a{color:inherit!important;text-decoration:underline!important}
402 a.bare,a[href^="#"],a[href^="mailto:"]{text-decoration:none!important}
403 a[href^="http:"]:not(.bare)::after,a[href^="https:"]:not(.bare)::after{content:"(" attr(href) ")";display:inline-block;font-size:.875em;padding-left:.25em}
404 abbr[title]{border-bottom:1px dotted}
405 abbr[title]::after{content:" (" attr(title) ")"}
406 pre,blockquote,tr,img,object,svg{page-break-inside:avoid}
407 thead{display:table-header-group}
408 svg{max-width:100%}
409 p,blockquote,dt,td.content{font-size:1em;orphans:3;widows:3}
410 h2,h3,#toctitle,.sidebarblock>.content>.title{page-break-after:avoid}
411 #header,#content,#footnotes,#footer{max-width:none}
412 #toc,.sidebarblock,.exampleblock>.content{background:none!important}
413 #toc{border-bottom:1px solid #dddddf!important;padding-bottom:0!important}
414 body.book #header{text-align:center}
415 body.book #header>h1:first-child{border:0!important;margin:2.5em 0 1em}
416 body.book #header .details{border:0!important;display:block;padding:0!important}
417 body.book #header .details span:first-child{margin-left:0!important}
418 body.book #header .details br{display:block}
419 body.book #header .details br+span::before{content:none!important}
420 body.book #toc{border:0!important;text-align:left!important;padding:0!important;margin:0!important}
421 body.book #toc,body.book #preamble,body.book h1.sect0,body.book .sect1>h2{page-break-before:always}
422 .listingblock code[data-lang]::before{display:block}
423 #footer{padding:0 .9375em}
424 .hide-on-print{display:none!important}
425 .print-only{display:block!important}
426 .hide-for-print{display:none!important}
427 .show-for-print{display:inherit!important}}
428 @media amzn-kf8,print{#header>h1:first-child{margin-top:1.25rem}
429 .sect1{padding:0!important}
430 .sect1+.sect1{border:0}
431 #footer{background:none}
432 #footer-text{color:rgba(0,0,0,.6);font-size:.9em}}
433 @media amzn-kf8{#header,#content,#footnotes,#footer{padding:0}}
434 </style>
435 </head>
436 <body id="cockpit-manual" class="article toc2 toc-left">
437 <div id="header">
438 <h1>Manual pages</h1>
439 <div id="toc" class="toc2">
440 <div id="toctitle">Table of Contents</div>
441 <ul class="sectlevel1">
442 <li><a href="#_cockpit1">cockpit(1)</a>
443 <ul class="sectlevel2">
444 <li><a href="#_name">Name</a></li>
445 <li><a href="#_description">Description</a></li>
446 <li><a href="#_components">Components</a></li>
447 <li><a href="#_bugs">Bugs</a></li>
448 <li><a href="#_author">Author</a></li>
449 <li><a href="#_see_also">See also</a></li>
450 </ul>
451 </li>
452 <li><a href="#_cockpit_conf5">cockpit.conf(5)</a>
453 <ul class="sectlevel2">
454 <li><a href="#_name_2">Name</a></li>
455 <li><a href="#_description_2">Description</a></li>
456 <li><a href="#_webservice">WebService</a></li>
457 <li><a href="#_log">Log</a></li>
458 <li><a href="#_oauth">OAuth</a></li>
459 <li><a href="#_session">Session</a></li>
460 <li><a href="#_bugs_2">Bugs</a></li>
461 <li><a href="#_author_2">Author</a></li>
462 <li><a href="#_see_also_2">See also</a></li>
463 </ul>
464 </li>
465 <li><a href="#_cockpit_ws8">cockpit-ws(8)</a>
466 <ul class="sectlevel2">
467 <li><a href="#_name_3">Name</a></li>
468 <li><a href="#_synopsis">Synopsis</a></li>
469 <li><a href="#_description_3">Description</a></li>
470 <li><a href="#_transport_security">Transport security</a></li>
471 <li><a href="#_timeout">Timeout</a></li>
472 <li><a href="#_options">Options</a></li>
473 <li><a href="#_environment">Environment</a></li>
474 <li><a href="#_bugs_3">Bugs</a></li>
475 <li><a href="#_author_3">Author</a></li>
476 <li><a href="#_see_also_3">See also</a></li>
477 </ul>
478 </li>
479 <li><a href="#_cockpit_tls8">cockpit-tls(8)</a>
480 <ul class="sectlevel2">
481 <li><a href="#_name_4">Name</a></li>
482 <li><a href="#_synopsis_2">Synopsis</a></li>
483 <li><a href="#_description_4">Description</a></li>
484 <li><a href="#_transport_security_2">Transport security</a></li>
485 <li><a href="#_options_2">Options</a></li>
486 <li><a href="#_environment_2">Environment</a></li>
487 <li><a href="#_bugs_4">Bugs</a></li>
488 <li><a href="#_author_4">Author</a></li>
489 <li><a href="#_see_also_4">See also</a></li>
490 </ul>
491 </li>
492 <li><a href="#_cockpit_desktop1">cockpit-desktop(1)</a>
493 <ul class="sectlevel2">
494 <li><a href="#_name_5">Name</a></li>
495 <li><a href="#_synopsis_3">Synopsis</a></li>
496 <li><a href="#_description_5">Description</a></li>
497 <li><a href="#_environment_3">Environment</a></li>
498 <li><a href="#_bugs_5">Bugs</a></li>
499 <li><a href="#_author_5">Author</a></li>
500 <li><a href="#_see_also_5">See also</a></li>
501 </ul>
502 </li>
503 <li><a href="#_cockpit_bridge1">cockpit-bridge(1)</a>
504 <ul class="sectlevel2">
505 <li><a href="#_name_6">Name</a></li>
506 <li><a href="#_synopsis_4">Synopsis</a></li>
507 <li><a href="#_description_6">Description</a></li>
508 <li><a href="#_options_3">Options</a></li>
509 <li><a href="#_bugs_6">Bugs</a></li>
510 <li><a href="#_author_6">Author</a></li>
511 <li><a href="#_see_also_6">See also</a></li>
512 </ul>
513 </li>
514 <li><a href="#_pam_ssh_add8">pam_ssh_add(8)</a>
515 <ul class="sectlevel2">
516 <li><a href="#_name_7">Name</a></li>
517 <li><a href="#_description_7">Description</a></li>
518 <li><a href="#_options_4">Options</a></li>
519 <li><a href="#_examples">Examples</a></li>
520 <li><a href="#_bugs_7">Bugs</a></li>
521 <li><a href="#_author_7">Author</a></li>
522 </ul>
523 </li>
524 </ul>
525 </div>
526 </div>
527 <div id="content">
528 <div class="sect1">
529 <h2 id="_cockpit1">cockpit(1)</h2>
530 <div class="sectionbody">
531 <div class="sect2">
532 <h3 id="_name">Name</h3>
533 <div class="paragraph">
534 <p>cockpit - Cockpit</p>
535 </div>
536 </div>
537 <div class="sect2">
538 <h3 id="_description">Description</h3>
539 <div class="paragraph">
540 <p>Cockpit is a web accessible interactive admin interface for Linux
541 machines. Cockpit can usually be accessed on port <code>9090</code> of the
542 machine it&#8217;s installed on. Cockpit starts on demand. Use your system
543 credentials to log in.</p>
544 </div>
545 </div>
546 <div class="sect2">
547 <h3 id="_components">Components</h3>
548 <div class="paragraph">
549 <p>The <strong>cockpit-ws</strong> web service listens on port <code>9090</code> and is started
550 on demand by <strong>systemd</strong>. The Cockpit web service authenticates the
551 user, loads Cockpit into the browser, and starts <strong>cockpit-bridge</strong> in a
552 Linux user session.</p>
553 </div>
554 <div class="paragraph">
555 <p>The <strong>cockpit-bridge</strong> provides Cockpit in the web browser with access
556 to the system APIs. It does this over its standard in and standard out.
557 The bridge is started like a shell once per Linux user session.</p>
558 </div>
559 </div>
560 <div class="sect2">
561 <h3 id="_bugs">Bugs</h3>
562 <div class="paragraph">
563 <p>Please send bug reports to either the distribution bug tracker or the <a href="https://github.com/cockpit-project/cockpit/issues/new">upstream bug tracker</a>.</p>
564 </div>
565 </div>
566 <div class="sect2">
567 <h3 id="_author">Author</h3>
568 <div class="paragraph">
569 <p>Cockpit has been written by many
570 <a href="https://github.com/cockpit-project/cockpit">contributors</a>.</p>
571 </div>
572 </div>
573 <div class="sect2">
574 <h3 id="_see_also">See also</h3>
575 <div class="paragraph">
576 <p><a href="cockpit-tls.8.html">cockpit-tls</a>(8) , <a href="cockpit-bridge.1.html">cockpit-bridge</a>(1) , systemd(1), <strong><a href="https://docs.cockpit-project.org/cockpit-guide/latest">Cockpit guide</a></strong></p>
577 </div>
578 </div>
579 </div>
580 </div>
581 <div class="sect1">
582 <h2 id="_cockpit_conf5">cockpit.conf(5)</h2>
583 <div class="sectionbody">
584 <div class="sect2">
585 <h3 id="_name_2">Name</h3>
586 <div class="paragraph">
587 <p>cockpit.conf - Cockpit configuration file</p>
588 </div>
589 </div>
590 <div class="sect2">
591 <h3 id="_description_2">Description</h3>
592 <div class="paragraph">
593 <p>Cockpit can be configured via /etc/cockpit/cockpit.conf. If
594 <strong>$XDG_CONFIG_DIRS</strong> is set, then the first path containing a
595 <strong>../cockpit/cockpit.conf</strong> is used instead. Other configuration files
596 and directories are searched for in the same way.</p>
597 </div>
598 <div class="paragraph">
599 <p>This file is not required and may need to be created manually. The file
600 has a INI file syntax and thus contains key / value pairs, grouped into
601 topical groups. See the examples below for details.</p>
602 </div>
603 <div class="paragraph">
604 <p>Note: The port that cockpit listens on cannot be changed in this file.
605 To change the port change the systemd <strong>cockpit.socket</strong> file.</p>
606 </div>
607 </div>
608 <div class="sect2">
609 <h3 id="_webservice">WebService</h3>
610 <div class="dlist">
611 <dl>
612 <dt class="hdlist1"><strong>Origins</strong></dt>
613 <dd>
614 <p>By default cockpit will not accept crossdomain websocket connections.
615 Use this setting to allow access from alternate domains. Origins
616 should include scheme, host and port, if necessary. Wildcards and glob
617 expressions are permitted. IPv6 addresses must have their brackets escaped
618 with backslashes (e.g. <code>\[::1\]</code>) as they are matched using <code>fnmatch()</code>.
619 <br></p>
620 </dd>
621 </dl>
622 </div>
623 <div class="listingblock">
624 <div class="content">
625 <pre class="highlight"><code class="language-ini" data-lang="ini">[WebService]
626 Origins = https://somedomain1.com https://somedomain2.com:9090 https://*.somedomain3.com https://\[::1\]:9090</code></pre>
627 </div>
628 </div>
629 <div class="dlist">
630 <dl>
631 <dt class="hdlist1"><strong>ProtocolHeader</strong></dt>
632 <dd>
633 <p>Configure cockpit to look at the contents of this header to determine
634 if a connection is using tls. This should only be used when cockpit is
635 behind a reverse proxy, and care should be taken to make sure that
636 incoming requests cannot set this header.
637 <br></p>
638 </dd>
639 </dl>
640 </div>
641 <div class="listingblock">
642 <div class="content">
643 <pre class="highlight"><code class="language-ini" data-lang="ini">[WebService]
644 ProtocolHeader = X-Forwarded-Proto</code></pre>
645 </div>
646 </div>
647 <div class="dlist">
648 <dl>
649 <dt class="hdlist1"><strong>ForwardedForHeader</strong></dt>
650 <dd>
651 <p>Configure cockpit to look at the contents of this header to determine
652 the real origin of a connection. This should only be used when cockpit
653 is behind a reverse proxy, and care should be taken to make sure that
654 incoming requests cannot set this header.
655 <br></p>
656 </dd>
657 </dl>
658 </div>
659 <div class="listingblock">
660 <div class="content">
661 <pre class="highlight"><code class="language-ini" data-lang="ini">[WebService]
662 ForwardedForHeader = X-Forwarded-For</code></pre>
663 </div>
664 </div>
665 <div class="dlist">
666 <dl>
667 <dt class="hdlist1"><strong>LoginTitle</strong></dt>
668 <dd>
669 <p>Set the browser title for the login screen.</p>
670 </dd>
671 <dt class="hdlist1"><strong>LoginTo</strong></dt>
672 <dd>
673 <p>When set to <code>true</code> the <em>Connect to</em> option on the login screen is
674 visible and allows logging into another server. When set to <code>false</code>,
675 direct remote logins are disallowed. If this option is not specified
676 then it will be automatically detected based on whether the
677 <strong>cockpit-bridge</strong> package is installed and the <strong>ssh</strong> program is
678 available.<br>
679 <br>
680 If cockpit-ws is exposed to the public internet, and also has access
681 to a private internal network, it is recommended to explicitly set
682 <strong>LoginTo=false</strong>. This prevents unauthenticated remote attackers from
683 scanning the internal network for existing machines and open ports.</p>
684 </dd>
685 <dt class="hdlist1"><strong>RequireHost</strong></dt>
686 <dd>
687 <p>When set to <code>true</code> cockpit will require users to use the <em>Connect
688 to</em> option to specify the host to log into.</p>
689 </dd>
690 <dt class="hdlist1"><strong>AllowMultiHost</strong></dt>
691 <dd>
692 <p>When set to <code>true</code>, cockpit will allow users to connect to multiple
693 hosts in one session. The default is OS specific.<br>
694 <br>
695 When connecting to multiple servers, JavaScript runs without
696 isolation. All systems will be vulnerable to potential attacks from
697 other connected hosts. Enable this option <em>only</em> when all hosts are
698 trusted.</p>
699 </dd>
700 <dt class="hdlist1"><strong>MaxStartups</strong></dt>
701 <dd>
702 <p>Same as the <strong>sshd</strong> configuration option by the same name. Specifies
703 the maximum number of concurrent login attempts allowed. Additional
704 connections will be dropped until authentication succeeds or the
705 connections are closed. Defaults to 10.<br>
706 <br>
707 Alternatively, random early drop can be enabled by specifying the
708 three colon separated values <strong>start:rate:full</strong> (e.g. "10:30:60").
709 Cockpit will start refusing authentication attempts with a probability
710 of <strong>rate/100</strong> (30%) if there are currently <strong>start</strong> (10)
711 unauthenticated connections. The probability increases linearly and
712 all connection attempts are refused if the number of unauthenticated
713 connections reaches <strong>full</strong> (60).</p>
714 </dd>
715 <dt class="hdlist1"><strong>MaxConcurrentConnections</strong></dt>
716 <dd>
717 <p>Limits the number of concurrent HTTP connections on the Cockpit port.
718 Connection attempts that exceed this limit are rejected early on
719 without reading a single byte. This can be used during brute-force
720 attacks. It differs from <strong>MaxStartups</strong>, which protects against too
721 many concurrent authentication attempts. Defaults to 500.</p>
722 </dd>
723 <dt class="hdlist1"><strong>AllowUnencrypted</strong></dt>
724 <dd>
725 <p>If true, cockpit will accept unencrypted HTTP connections. Otherwise,
726 it redirects all HTTP connections to HTTPS. Exceptions are connections
727 from localhost and for certain URLs (like <strong>/ping</strong>). Defaults to
728 false.</p>
729 </dd>
730 <dt class="hdlist1"><strong>UrlRoot</strong></dt>
731 <dd>
732 <p>The root URL where you will be serving cockpit. When provided cockpit
733 will expect all requests to be prefixed with the given url. This is
734 mostly useful when you are using cockpit behind a reverse proxy, such
735 as nginx. <code>/cockpit/</code> and <code>/cockpit+</code> are reserved and should not
736 be used. For example <code>/cockpit-new/</code> is ok. <code>/cockpit/</code> and
737 <code>/cockpit+new/</code> are not.</p>
738 </dd>
739 <dt class="hdlist1"><strong>ClientCertAuthentication</strong></dt>
740 <dd>
741 <p>If true, enable TLS client certificates for authenticating users.
742 Commonly these are provided by a smart card, but it&#8217;s equally possible
743 to import certificates directly into the web browser. Please see the
744 <a href="https://docs.cockpit-project.org/cockpit-guide/latest/guide/cert-authentication.html">Certificate/smart
745 card authentication</a> section in the Cockpit guide for details.</p>
746 </dd>
747 <dt class="hdlist1"><strong>Shell</strong></dt>
748 <dd>
749 <p>The relative URL to top level component to display in Cockpit once
750 logged in. Defaults to <code>/shell/index.html</code></p>
751 </dd>
752 <dt class="hdlist1"><strong>CustomLoginPage</strong></dt>
753 <dd>
754 <p>Load the login page from an alternative directory. The directory must
755 contain a <code>login.html</code> and optionally a <code>po.js</code> file for translations.
756 When not set, the hardcoded <code>$prefix/share/cockpit/static</code> directory is used.</p>
757 </dd>
758 </dl>
759 </div>
760 </div>
761 <div class="sect2">
762 <h3 id="_log">Log</h3>
763 <div class="dlist">
764 <dl>
765 <dt class="hdlist1"><strong>Fatal</strong></dt>
766 <dd>
767 <p>The kind of log messages in the bridge to treat as fatal. Separate
768 multiple values with spaces. Relevant values are: <strong>criticals</strong> and
769 <strong>warnings</strong>.</p>
770 </dd>
771 </dl>
772 </div>
773 </div>
774 <div class="sect2">
775 <h3 id="_oauth">OAuth</h3>
776 <div class="paragraph">
777 <p>Cockpit can be configured to support the
778 <a href="https://tools.ietf.org/html/rfc6749#section-4.2">implicit grant</a> OAuth
779 authorization flow. When successful the resulting oauth token will be
780 passed to cockpit-ws using the <strong>Bearer</strong> auth-scheme. For a login to be
781 successful, cockpit will also need a to be configured to verify and
782 allow <strong>Bearer</strong> tokens.</p>
783 </div>
784 <div class="dlist">
785 <dl>
786 <dt class="hdlist1"><strong>URL</strong></dt>
787 <dd>
788 <p>This is the url that cockpit will redirect the users browser to when
789 it needs to obtain an oauth token. Cockpit will add a redirect_uri
790 parameter to the url with the location of where the oauth provider
791 should redirect to once a token has been obtained.</p>
792 </dd>
793 <dt class="hdlist1"><strong>ErrorParam</strong></dt>
794 <dd>
795 <p>When a oauth provider redirects a user back to cockpit, look for this
796 parameter in the querystring or fragment portion of the url to find a
797 error message. When not provided it will default to
798 <strong>error_description</strong></p>
799 </dd>
800 <dt class="hdlist1"><strong>TokenParam</strong></dt>
801 <dd>
802 <p>When a oauth provider redirects a user back to cockpit, look for this
803 parameter in the querystring or fragment portion of the url to find
804 the access token. When not provided it will default to
805 <strong>access_token</strong></p>
806 </dd>
807 </dl>
808 </div>
809 </div>
810 <div class="sect2">
811 <h3 id="_session">Session</h3>
812 <div class="dlist">
813 <dl>
814 <dt class="hdlist1"><strong>Banner</strong></dt>
815 <dd>
816 <p>The contents of the specified file (commonly <strong>/etc/issue</strong>) are shown
817 on the login page. By default, no banner is displayed.</p>
818 </dd>
819 <dt class="hdlist1"><strong>IdleTimeout</strong></dt>
820 <dd>
821 <p>Time in minutes after which session expires and user is logged out if
822 no user action has been performed in the given time. This idle timeout
823 only applies to interactive password logins. With non-interactive
824 authentication methods like Kerberos, OAuth, or certificate login, the
825 browser cannot forget credentials, and thus automatic logouts are not
826 useful for protecting credentials of forgotten sessions. Set to <strong>0</strong>
827 to disable session timeout.
828 <br></p>
829 </dd>
830 </dl>
831 </div>
832 <div class="listingblock">
833 <div class="content">
834 <pre class="highlight"><code class="language-ini" data-lang="ini">[Session]
835 IdleTimeout=15</code></pre>
836 </div>
837 </div>
838 <div class="dlist">
839 <dl>
840 <dt class="hdlist1"></dt>
841 <dd>
842 <p>When not specified, there is no idle timeout by default.</p>
843 </dd>
844 <dt class="hdlist1"><strong>WarnBeforeConnecting</strong></dt>
845 <dd>
846 <p>Whether to warn before connecting to remote hosts from the Shell.
847 Defaults to true.
848 <br></p>
849 </dd>
850 </dl>
851 </div>
852 <div class="listingblock">
853 <div class="content">
854 <pre class="highlight"><code class="language-ini" data-lang="ini">[Session]
855 WarnBeforeConnecting=false</code></pre>
856 </div>
857 </div>
858 </div>
859 <div class="sect2">
860 <h3 id="_bugs_2">Bugs</h3>
861 <div class="paragraph">
862 <p>Please send bug reports to either the distribution bug tracker or the <a href="https://github.com/cockpit-project/cockpit/issues/new">upstream bug tracker</a>.</p>
863 </div>
864 </div>
865 <div class="sect2">
866 <h3 id="_author_2">Author</h3>
867 <div class="paragraph">
868 <p>Cockpit has been written by many
869 <a href="https://github.com/cockpit-project/cockpit">contributors</a>.</p>
870 </div>
871 </div>
872 <div class="sect2">
873 <h3 id="_see_also_2">See also</h3>
874 <div class="paragraph">
875 <p><a href="cockpit-ws.8.html">cockpit-ws</a>(8), <a href="cockpit-tls.8.html">cockpit-tls</a>(8)</p>
876 </div>
877 </div>
878 </div>
879 </div>
880 <div class="sect1">
881 <h2 id="_cockpit_ws8">cockpit-ws(8)</h2>
882 <div class="sectionbody">
883 <div class="sect2">
884 <h3 id="_name_3">Name</h3>
885 <div class="paragraph">
886 <p>cockpit-ws - Cockpit web service</p>
887 </div>
888 </div>
889 <div class="sect2">
890 <h3 id="_synopsis">Synopsis</h3>
891 <div class="paragraph">
892 <p><strong>cockpit-ws</strong> [<strong>--help</strong>] [<strong>--port</strong> <em>PORT</em>] [<strong>--address</strong> <em>ADDRESS</em>] [<strong>--no-tls</strong>]
893 [<strong>--for-tls-proxy</strong>] [<strong>--local-ssh</strong>] [<strong>--local-session</strong> <em>BRIDGE</em>]</p>
894 </div>
895 </div>
896 <div class="sect2">
897 <h3 id="_description_3">Description</h3>
898 <div class="paragraph">
899 <p>The <strong>cockpit-ws</strong> program is the web service component used for
900 communication between the browser application and various configuration
901 tools and services like <a href="cockpit-bridge.1.html">cockpit-bridge</a>(1).</p>
902 </div>
903 <div class="paragraph">
904 <p>Users or administrators should never need to start this program as it
905 automatically started by systemd(1) on boot up, through
906 <a href="cockpit-tls.8.html">cockpit-tls</a>(8).</p>
907 </div>
908 </div>
909 <div class="sect2">
910 <h3 id="_transport_security">Transport security</h3>
911 <div class="paragraph">
912 <p><strong>cockpit-ws</strong> is normally run behind the <strong>cockpit-tls</strong> TLS
913 terminating proxy, and only deals with unencrypted HTTP by itself. But
914 for backwards compatibility it can also handle TLS connections by itself
915 when being run directly. For details how to configure certificates,
916 please refer to the <a href="cockpit-tls.8.html">cockpit-tls</a>(8) documentation.</p>
917 </div>
918 </div>
919 <div class="sect2">
920 <h3 id="_timeout">Timeout</h3>
921 <div class="paragraph">
922 <p>When started via systemd(1) then <strong>cockpit-ws</strong> will exit after 90
923 seconds if nobody logs in, or after the last user is disconnected.</p>
924 </div>
925 </div>
926 <div class="sect2">
927 <h3 id="_options">Options</h3>
928 <div class="dlist">
929 <dl>
930 <dt class="hdlist1"><strong>--help</strong></dt>
931 <dd>
932 <p>Show help options.</p>
933 </dd>
934 <dt class="hdlist1"><strong>--port</strong> <em>PORT</em></dt>
935 <dd>
936 <p>Serve HTTP requests <em>PORT</em> instead of port <strong>9090</strong>. Usually Cockpit is
937 started on demand by <strong>systemd</strong> socket activation, and this option
938 has no effect. Update the <strong>ListenStream</strong> directive
939 <strong>cockpit.socket</strong> file in the usual <strong>systemd</strong> manner.</p>
940 </dd>
941 <dt class="hdlist1"><strong>--address</strong> <em>ADDRESS</em></dt>
942 <dd>
943 <p>Bind to address <em>ADDRESS</em> instead of binding to all available
944 addresses. Usually Cockpit is started on demand by <strong>systemd</strong> socket
945 activation, and this option has no effect. In that case, update the
946 <strong>ListenStream</strong> directive in the <strong>cockpit.socket</strong> file in the usual
947 <strong>systemd</strong> manner.</p>
948 </dd>
949 <dt class="hdlist1"><strong>--no-tls</strong></dt>
950 <dd>
951 <p>Disable http to https redirection.</p>
952 </dd>
953 <dt class="hdlist1"><strong>--for-tls-proxy</strong></dt>
954 <dd>
955 <p>Tell <strong>cockpit-ws</strong> that it is running behind a local reverse proxy
956 that does the TLS termination. Then Cockpit puts https:// URLs into
957 the default <strong>Content-Security-Policy</strong>, and accepts only https://
958 origins, instead of http: ones by default. However, if <strong>Origins</strong> is
959 set in the <a href="cockpit.conf.5.html">cockpit.conf</a>(5) configuration file, it will override
960 this default.</p>
961 </dd>
962 <dt class="hdlist1"><strong>--local-ssh</strong></dt>
963 <dd>
964 <p>Normally <strong>cockpit-ws</strong> uses <strong>cockpit-session</strong> and PAM to
965 authenticate the user and start a user session. With this option
966 enabled, it will instead authenticate via SSH at <strong>127.0.0.1</strong> port
967 <strong>22</strong>.</p>
968 </dd>
969 <dt class="hdlist1"><strong>--local-session</strong> <em>BRIDGE</em></dt>
970 <dd>
971 <p>Skip all authentication and <strong>cockpit-session</strong>, and launch the
972 <strong>cockpit-bridge</strong> specified in <em>BRIDGE</em> in the local session. If the
973 <em>BRIDGE</em> is specified as <code>-</code> then expect an already running bridge
974 that is connected to stdin and stdout of this <strong>cockpit-ws</strong> process.
975 This allows the web server to run as any unprivileged user in an
976 already running session.<br>
977 <br>
978 This mode implies <strong>--no-tls</strong>, thus you need to use http:// URLs with
979 this.</p>
980 </dd>
981 </dl>
982 </div>
983 <div class="admonitionblock warning">
984 <table>
985 <tr>
986 <td class="icon">
987 <div class="title">Warning</div>
988 </td>
989 <td class="content">
990 <div class="paragraph">
991 <p>With <strong>--local-session</strong> <em>BRIDGE</em>, you <em>have to isolate the opened TCP port</em> somehow
992 (for example in a network namespace), otherwise all other users (or
993 even remote machines if the port is not just listening on localhost)
994 can access the session!</p>
995 </div>
996 </td>
997 </tr>
998 </table>
999 </div>
1000 </div>
1001 <div class="sect2">
1002 <h3 id="_environment">Environment</h3>
1003 <div class="paragraph">
1004 <p>The <strong>cockpit-ws</strong> process will use the <strong>XDG_CONFIG_DIRS</strong> environment
1005 variable from the
1006 <a href="https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html">XDG
1007 basedir spec</a> to find its <a href="cockpit.conf.5.html">cockpit.conf</a>(5) configuration file.</p>
1008 </div>
1009 <div class="paragraph">
1010 <p>In addition the <strong>XDG_DATA_DIRS</strong> environment variable from the
1011 <a href="https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html">XDG
1012 basedir spec</a> can be used to override the location to serve static files
1013 from. These are the files that are served to a non-logged in user.</p>
1014 </div>
1015 </div>
1016 <div class="sect2">
1017 <h3 id="_bugs_3">Bugs</h3>
1018 <div class="paragraph">
1019 <p>Please send bug reports to either the distribution bug tracker or the <a href="https://github.com/cockpit-project/cockpit/issues/new">upstream bug tracker</a>.</p>
1020 </div>
1021 </div>
1022 <div class="sect2">
1023 <h3 id="_author_3">Author</h3>
1024 <div class="paragraph">
1025 <p>Cockpit has been written by many
1026 <a href="https://github.com/cockpit-project/cockpit">contributors</a>.</p>
1027 </div>
1028 </div>
1029 <div class="sect2">
1030 <h3 id="_see_also_3">See also</h3>
1031 <div class="paragraph">
1032 <p><a href="cockpit-tls.8.html">cockpit-tls</a>(8) , <a href="cockpit.conf.5.html">cockpit.conf</a>(5) , systemd(1)</p>
1033 </div>
1034 </div>
1035 </div>
1036 </div>
1037 <div class="sect1">
1038 <h2 id="_cockpit_tls8">cockpit-tls(8)</h2>
1039 <div class="sectionbody">
1040 <div class="sect2">
1041 <h3 id="_name_4">Name</h3>
1042 <div class="paragraph">
1043 <p>cockpit-tls - TLS proxy for Cockpit web service</p>
1044 </div>
1045 </div>
1046 <div class="sect2">
1047 <h3 id="_synopsis_2">Synopsis</h3>
1048 <div class="paragraph">
1049 <p><strong>cockpit-tls</strong> [<strong>--help</strong>] [<strong>--port</strong> <em>PORT</em>] [<strong>--no-tls</strong>] [<strong>--idle-timeout</strong> <em>SECONDS</em>]</p>
1050 </div>
1051 </div>
1052 <div class="sect2">
1053 <h3 id="_description_4">Description</h3>
1054 <div class="paragraph">
1055 <p>The <strong>cockpit-tls</strong> program is a TLS terminating HTTP proxy for
1056 <a href="cockpit-ws.8.html">cockpit-ws</a>(8). It manages a set of isolated cockpit-ws instances,
1057 one per TLS client certificate, plus one for TLS without a client
1058 certificate, and one for unencrypted HTTP. With that, one session cannot
1059 tamper with another one through possible security vulnerability
1060 exploits.</p>
1061 </div>
1062 <div class="paragraph">
1063 <p>Users or administrators should never need to start this program as it
1064 automatically started by systemd(1) via socket activation.</p>
1065 </div>
1066 </div>
1067 <div class="sect2">
1068 <h3 id="_transport_security_2">Transport security</h3>
1069 <div class="paragraph">
1070 <p>To specify the TLS certificate the web service should use, simply drop a
1071 file with the extension <strong>.cert</strong> in the <strong>/etc/cockpit/ws-certs.d</strong>
1072 directory, or below <strong>$XDG_CONFIG_DIRS</strong> if set (see
1073 <a href="cockpit.conf.5.html">cockpit.conf</a>(5)). If there are multiple files
1074 in this directory, then the highest priority one is chosen after
1075 sorting.</p>
1076 </div>
1077 <div class="paragraph">
1078 <p>The <strong>.cert</strong> file should contain at least two OpenSSL style PEM blocks.
1079 First one or more <code>BEGIN CERTIFICATE</code> blocks for the server
1080 certificate and intermediate certificate authorities and a second one
1081 containing a <code>BEGIN PRIVATE KEY</code> or similar. The key must not be
1082 encrypted.</p>
1083 </div>
1084 <div class="paragraph">
1085 <p>If there is no TLS certificate, a self-signed certificate is
1086 automatically generated using <strong>sscg</strong> (if available) or <strong>openssl</strong> and
1087 stored in the <strong>0-self-signed.cert</strong> file.</p>
1088 </div>
1089 <div class="paragraph">
1090 <p>When enrolling into a FreeIPA domain, an SSL certificate is requested
1091 from the IPA server and stored in <strong>10-ipa.cert</strong>.</p>
1092 </div>
1093 <div class="paragraph">
1094 <p>To check which certificate <strong>cockpit-ws</strong> will use, run the following
1095 command.</p>
1096 </div>
1097 <div class="literalblock">
1098 <div class="content">
1099 <pre>$ sudo /usr/libexec/cockpit-certificate-ensure --check</pre>
1100 </div>
1101 </div>
1102 <div class="paragraph">
1103 <p>Or, on Debian-based systems:</p>
1104 </div>
1105 <div class="literalblock">
1106 <div class="content">
1107 <pre>$ sudo /usr/lib/cockpit/cockpit-certificate-ensure --check</pre>
1108 </div>
1109 </div>
1110 <div class="paragraph">
1111 <p>If using <strong>certmonger</strong> to manage certificates, following command can be
1112 used to generate a certificate/key pair:</p>
1113 </div>
1114 <div class="literalblock">
1115 <div class="content">
1116 <pre>CERT_FILE=/etc/cockpit/ws-certs.d/50-certmonger.crt
1117 KEY_FILE=/etc/cockpit/ws-certs.d/50-certmonger.key
1118
1119 getcert request -f ${CERT_FILE} -k ${KEY_FILE} -D $(hostname --fqdn)</pre>
1120 </div>
1121 </div>
1122 </div>
1123 <div class="sect2">
1124 <h3 id="_options_2">Options</h3>
1125 <div class="dlist">
1126 <dl>
1127 <dt class="hdlist1"><strong>--help</strong></dt>
1128 <dd>
1129 <p>Show help options.</p>
1130 </dd>
1131 <dt class="hdlist1"><strong>--port</strong> <em>PORT</em></dt>
1132 <dd>
1133 <p>Serve HTTP requests on <em>PORT</em> instead of port 9090. Usually Cockpit is
1134 started on demand by <strong>systemd</strong> socket activation, and this option
1135 has no effect. Update the <strong>ListenStream</strong> directive
1136 <strong>cockpit.socket</strong> file in the usual <strong>systemd</strong> manner.</p>
1137 </dd>
1138 <dt class="hdlist1"><strong>--no-tls</strong></dt>
1139 <dd>
1140 <p>Don&#8217;t use TLS. Certificates will not be read, and https connections
1141 denied. Then <strong>cockpit-tls</strong> will only manage a single cockpit-ws
1142 instance, and thus not do anything different than running
1143 <strong>cockpit-ws --no-tls</strong> directly. Only use this for debugging or
1144 testing.</p>
1145 </dd>
1146 <dt class="hdlist1"><strong>--idle-timeout</strong> <em>SECONDS</em></dt>
1147 <dd>
1148 <p>If greater than 0, exit if no connections have happened for the given
1149 number of seconds, i. e. the server is idle. If not given, the default
1150 is 90.</p>
1151 </dd>
1152 </dl>
1153 </div>
1154 </div>
1155 <div class="sect2">
1156 <h3 id="_environment_2">Environment</h3>
1157 <div class="paragraph">
1158 <p>The <strong>cockpit-tls</strong> program expects the <strong>RUNTIME_DIRECTORY</strong>
1159 environment variable to be set to an empty directory (preferably in
1160 <strong>/run/</strong>) that is only accessible by the system user under which it is
1161 running. This contains the Unix sockets for communicating with the
1162 <strong>cockpit-ws</strong> instances, and in the future, state information about
1163 client certificates. This variable is normally set by the
1164 <strong>cockpit.service</strong> systemd unit.</p>
1165 </div>
1166 <div class="paragraph">
1167 <p>In addition, <strong>cockpit-tls</strong> will use the <strong>XDG_CONFIG_DIRS</strong>
1168 environment variable from the
1169 <a href="https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html">XDG
1170 basedir spec</a> to find its certificates and the <a href="cockpit.conf.5.html">cockpit.conf</a>(5)
1171 configuration file.</p>
1172 </div>
1173 </div>
1174 <div class="sect2">
1175 <h3 id="_bugs_4">Bugs</h3>
1176 <div class="paragraph">
1177 <p>Please send bug reports to either the distribution bug tracker or the <a href="https://github.com/cockpit-project/cockpit/issues/new">upstream bug tracker</a>.</p>
1178 </div>
1179 </div>
1180 <div class="sect2">
1181 <h3 id="_author_4">Author</h3>
1182 <div class="paragraph">
1183 <p>Cockpit has been written by many
1184 <a href="https://github.com/cockpit-project/cockpit">contributors</a>.</p>
1185 </div>
1186 </div>
1187 <div class="sect2">
1188 <h3 id="_see_also_4">See also</h3>
1189 <div class="paragraph">
1190 <p><a href="cockpit-ws.8.html">cockpit-ws</a>(8) , <a href="cockpit.conf.5.html">cockpit.conf</a>(5) , systemd(1)</p>
1191 </div>
1192 </div>
1193 </div>
1194 </div>
1195 <div class="sect1">
1196 <h2 id="_cockpit_desktop1">cockpit-desktop(1)</h2>
1197 <div class="sectionbody">
1198 <div class="sect2">
1199 <h3 id="_name_5">Name</h3>
1200 <div class="paragraph">
1201 <p>cockpit-desktop - Cockpit Desktop integration</p>
1202 </div>
1203 </div>
1204 <div class="sect2">
1205 <h3 id="_synopsis_3">Synopsis</h3>
1206 <div class="paragraph">
1207 <p><strong>cockpit-desktop</strong> <em>URLPATH</em> [<em>SSH_HOST</em>]</p>
1208 </div>
1209 </div>
1210 <div class="sect2">
1211 <h3 id="_description_5">Description</h3>
1212 <div class="paragraph">
1213 <p>The <strong>cockpit-desktop</strong> program provides secure access to Cockpit pages
1214 in an already running desktop session. It starts a web server
1215 (<strong>cockpit-ws</strong>) and a web browser in an isolated network namespace, and
1216 a <a href="cockpit-bridge.1.html">cockpit-bridge</a>(1) in the running user session.</p>
1217 </div>
1218 <div class="paragraph">
1219 <p>This avoids having to log into Cockpit, and having to enable
1220 <strong>cockpit.socket</strong> system-wide. The network isolation ensures that no
1221 other user, and not even other processes in the user&#8217;s session, can
1222 access this local web server.</p>
1223 </div>
1224 <div class="paragraph">
1225 <p><strong>URLPATH</strong> is the Cockpit page to open, i. e. the path component of
1226 Cockpit URLs. It is highly recommended to only open a
1227 <a href="https://docs.cockpit-project.org/cockpit-guide/latest/guide/embedding.html">particular page frame</a>, not the entire Cockpit navigation and menu. For example, the
1228 path <code>/cockpit/@localhost/storage/index.html</code> will open the Storage
1229 page. It is also possible to give abbreviated forms of urls, such as
1230 &#8220;/storage&#8221; or &#8220;/network/firewall&#8221;.</p>
1231 </div>
1232 <div class="paragraph">
1233 <p><em>SSH_HOST</em> is an optional SSH remote host specification (<em>hostname</em>
1234 or <em>username@hostname</em>). If given, <strong>cockpit-bridge</strong> will be started
1235 on the remote host through <strong>ssh(1)</strong> instead, i. e. the Cockpit web
1236 browser will show that remote host. Note that this is more of an
1237 experimental/demo feature.</p>
1238 </div>
1239 </div>
1240 <div class="sect2">
1241 <h3 id="_environment_3">Environment</h3>
1242 <div class="paragraph">
1243 <p>The <strong>BROWSER</strong> environment variable specifies the browser command (and
1244 possibly options) that will be used to open the requested Cockpit page.
1245 If not set, <strong>cockpit-desktop</strong> attempts to use an internal minimalistic
1246 WebKit browser, and failing that, will attempt to detect some reasonable
1247 alternatives.</p>
1248 </div>
1249 </div>
1250 <div class="sect2">
1251 <h3 id="_bugs_5">Bugs</h3>
1252 <div class="paragraph">
1253 <p>Please send bug reports to either the distribution bug tracker or the <a href="https://github.com/cockpit-project/cockpit/issues/new">upstream bug tracker</a>.</p>
1254 </div>
1255 </div>
1256 <div class="sect2">
1257 <h3 id="_author_5">Author</h3>
1258 <div class="paragraph">
1259 <p>Cockpit has been written by many
1260 <a href="https://github.com/cockpit-project/cockpit">contributors</a>.</p>
1261 </div>
1262 </div>
1263 <div class="sect2">
1264 <h3 id="_see_also_5">See also</h3>
1265 <div class="paragraph">
1266 <p><a href="cockpit-ws.8.html">cockpit-ws</a>(8), <a href="cockpit-bridge.1.html">cockpit-bridge</a>(1)</p>
1267 </div>
1268 </div>
1269 </div>
1270 </div>
1271 <div class="sect1">
1272 <h2 id="_cockpit_bridge1">cockpit-bridge(1)</h2>
1273 <div class="sectionbody">
1274 <div class="sect2">
1275 <h3 id="_name_6">Name</h3>
1276 <div class="paragraph">
1277 <p>cockpit-bridge - Cockpit Host Bridge</p>
1278 </div>
1279 </div>
1280 <div class="sect2">
1281 <h3 id="_synopsis_4">Synopsis</h3>
1282 <div class="paragraph">
1283 <p><strong>cockpit-bridge</strong> [<strong>--help</strong>] [<strong>--packages</strong>]</p>
1284 </div>
1285 </div>
1286 <div class="sect2">
1287 <h3 id="_description_6">Description</h3>
1288 <div class="paragraph">
1289 <p>The <strong>cockpit-bridge</strong> program is used by Cockpit to relay messages and
1290 commands from the Web front end to the server. Among other things it
1291 relays DBus, and spawns processes on behalf of the Web user interface.</p>
1292 </div>
1293 <div class="paragraph">
1294 <p>This program is not routinely run by users or administrators. It is in
1295 the <strong>$PATH</strong> so that Cockpit can find it when connecting between hosts.
1296 However there are some diagnostics available when running from the
1297 command line.</p>
1298 </div>
1299 </div>
1300 <div class="sect2">
1301 <h3 id="_options_3">Options</h3>
1302 <div class="dlist">
1303 <dl>
1304 <dt class="hdlist1"><strong>--help</strong></dt>
1305 <dd>
1306 <p>Show help options.</p>
1307 </dd>
1308 <dt class="hdlist1"><strong>--interact</strong>=<em>boundary</em></dt>
1309 <dd>
1310 <p>Interact with the raw cockpit1 protocol. Useful for debugging and
1311 testing. Specify a <em>boundary</em> which should be on an empty line
1312 between messages.</p>
1313 </dd>
1314 <dt class="hdlist1"><strong>--packages</strong></dt>
1315 <dd>
1316 <p>List all available Cockpit packages and exit. Note this includes
1317 packages available to the user running this command.</p>
1318 </dd>
1319 <dt class="hdlist1"><strong>--version</strong></dt>
1320 <dd>
1321 <p>Show Cockpit version information.</p>
1322 </dd>
1323 </dl>
1324 </div>
1325 </div>
1326 <div class="sect2">
1327 <h3 id="_bugs_6">Bugs</h3>
1328 <div class="paragraph">
1329 <p>Please send bug reports to either the distribution bug tracker or the <a href="https://github.com/cockpit-project/cockpit/issues/new">upstream bug tracker</a>.</p>
1330 </div>
1331 </div>
1332 <div class="sect2">
1333 <h3 id="_author_6">Author</h3>
1334 <div class="paragraph">
1335 <p>Cockpit has been written by many
1336 <a href="https://github.com/cockpit-project/cockpit">contributors</a>.</p>
1337 </div>
1338 </div>
1339 <div class="sect2">
1340 <h3 id="_see_also_6">See also</h3>
1341 <div class="paragraph">
1342 <p><a href="cockpit-ws.8.html">cockpit-ws</a>(8)</p>
1343 </div>
1344 </div>
1345 </div>
1346 </div>
1347 <div class="sect1">
1348 <h2 id="_pam_ssh_add8">pam_ssh_add(8)</h2>
1349 <div class="sectionbody">
1350 <div class="sect2">
1351 <h3 id="_name_7">Name</h3>
1352 <div class="paragraph">
1353 <p>pam_ssh_add - PAM module to auto load ssh keys into an agent</p>
1354 </div>
1355 </div>
1356 <div class="sect2">
1357 <h3 id="_description_7">Description</h3>
1358 <div class="paragraph">
1359 <p><strong>pam_ssh_add</strong> provides authentication and session modules that allow users
1360 to start their session with a running ssh-agent with as many ssh keys
1361 loaded as possible.</p>
1362 </div>
1363 <div class="paragraph">
1364 <p>If used, the authentication module simply stores the authentication
1365 token for later use by the session module. Because this module performs
1366 no actual authentication it returns PAM_CRED_INSUFFICIENT on success and
1367 should always be accompanied by an actual authentication module in your
1368 pam configuration.</p>
1369 </div>
1370 <div class="paragraph">
1371 <p>By default the session module will start a new ssh-agent and run
1372 ssh-add, loading any keys that exist in the default path for the newly
1373 logged in user. If any keys prompt for a password, and a authentication
1374 token was successfully stored, that token will be provided as the
1375 password.</p>
1376 </div>
1377 </div>
1378 <div class="sect2">
1379 <h3 id="_options_4">Options</h3>
1380 <div class="dlist">
1381 <dl>
1382 <dt class="hdlist1"><strong>debug</strong></dt>
1383 <dd>
1384 <p>This option will turn on debug logging to syslog.</p>
1385 </dd>
1386 </dl>
1387 </div>
1388 </div>
1389 <div class="sect2">
1390 <h3 id="_examples">Examples</h3>
1391 <div class="literalblock">
1392 <div class="content">
1393 <pre> auth required pam_unix.so
1394 auth optional pam_ssh_add.so
1395 session optional pam_ssh_add.so</pre>
1396 </div>
1397 </div>
1398 </div>
1399 <div class="sect2">
1400 <h3 id="_bugs_7">Bugs</h3>
1401 <div class="paragraph">
1402 <p>Please send bug reports to either the distribution bug tracker or the <a href="https://github.com/cockpit-project/cockpit/issues/new">upstream bug tracker</a>.</p>
1403 </div>
1404 </div>
1405 <div class="sect2">
1406 <h3 id="_author_7">Author</h3>
1407 <div class="paragraph">
1408 <p>Cockpit has been written by many
1409 <a href="https://github.com/cockpit-project/cockpit">contributors</a>.</p>
1410 </div>
1411 </div>
1412 </div>
1413 </div>
1414 </div>
1415 <div id="footer">
1416 <div id="footer-text">
1417 Last updated 2026-09-23 13:50:34 UTC
1418 </div>
1419 </div>
1420 </body>
1421 </html>