Debian Codegraph @

man/systemd-ssh-issue.xml

raw
1 <?xml version='1.0'?> <!--*-nxml-*-->
2 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
4 <!-- SPDX-License-Identifier: LGPL-2.1-or-later -->
5
6 <refentry id="systemd-ssh-issue"
7 xmlns:xi="http://www.w3.org/2001/XInclude">
8
9 <refentryinfo>
10 <title>systemd-ssh-issue</title>
11 <productname>systemd</productname>
12 </refentryinfo>
13
14 <refmeta>
15 <refentrytitle>systemd-ssh-issue</refentrytitle>
16 <manvolnum>1</manvolnum>
17 </refmeta>
18
19 <refnamediv>
20 <refname>systemd-ssh-issue</refname>
21 <refpurpose>Generator for SSH login prompt drop-ins</refpurpose>
22 </refnamediv>
23
24 <refsynopsisdiv>
25 <cmdsynopsis>
26 <command>/usr/lib/systemd/systemd-ssh-issue</command>
27 <arg choice="opt" rep="repeat">OPTIONS</arg>
28 <arg choice="plain">make-vsock</arg>
29 </cmdsynopsis>
30 <cmdsynopsis>
31 <command>/usr/lib/systemd/systemd-ssh-issue</command>
32 <arg choice="opt" rep="repeat">OPTIONS</arg>
33 <arg choice="plain">rm-vsock</arg>
34 </cmdsynopsis>
35 </refsynopsisdiv>
36
37 <refsect1>
38 <title>Description</title>
39
40 <para><command>systemd-ssh-issue</command> is a small tool that generates (when called with
41 <command>make-vsock</command>) and removes (when called with <command>rm-vsock</command>) a
42 <filename>/run/issue.d/50-ssh-vsock.issue</filename> drop-in file in case <constant>AF_VSOCK</constant>
43 support is available in the kernel and the VM environment. The file contains brief information about how
44 to contact the local system via SSH-over-<constant>AF_VSOCK</constant>, in particular it reports the
45 system's <constant>AF_VSOCK</constant> CID. The file is typically read and displayed by <citerefentry
46 project='man-pages'><refentrytitle>agetty</refentrytitle><manvolnum>8</manvolnum></citerefentry> on
47 console or serial login prompts.</para>
48
49 <para>This tool is automatically used by
50 <citerefentry><refentrytitle>systemd-ssh-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry>
51 in the <constant>AF_VSOCK</constant> socket units it generates.</para>
52 </refsect1>
53
54 <refsect1>
55 <title>Options</title>
56 <para>The following options are understood:</para>
57
58 <variablelist>
59 <varlistentry>
60 <term><option>--issue-path=</option></term>
61 <listitem><para>Changes the path to the issue file to write to/remove. If not specified, defaults to
62 <filename>/run/issue.d/50-ssh-vsock.issue</filename>. If specified as empty string or
63 <literal>-</literal> writes the issue file contents to standard output.</para>
64
65 <xi:include href="version-info.xml" xpointer="v258"/></listitem>
66 </varlistentry>
67
68 <xi:include href="standard-options.xml" xpointer="help"/>
69 <xi:include href="standard-options.xml" xpointer="version"/>
70 </variablelist>
71 </refsect1>
72
73 <refsect1>
74 <title>Exit status</title>
75
76 <para>On success, 0 is returned, a non-zero failure code
77 otherwise.</para>
78 </refsect1>
79
80 <refsect1>
81 <title>See Also</title>
82 <para><simplelist type="inline">
83 <member><citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry></member>
84 <member><citerefentry><refentrytitle>systemd-ssh-generator</refentrytitle><manvolnum>8</manvolnum></citerefentry></member>
85 <member><citerefentry project="man-pages"><refentrytitle>vsock</refentrytitle><manvolnum>7</manvolnum></citerefentry></member>
86 <member><citerefentry project="man-pages"><refentrytitle>ssh</refentrytitle><manvolnum>1</manvolnum></citerefentry></member>
87 <member><citerefentry project="man-pages"><refentrytitle>sshd</refentrytitle><manvolnum>8</manvolnum></citerefentry></member>
88 <member><citerefentry project='man-pages'><refentrytitle>agetty</refentrytitle><manvolnum>8</manvolnum></citerefentry></member>
89 </simplelist></para>
90 </refsect1>
91 </refentry>