sss_ssh_knownhostsproxy.1.xml revision 544525ee1fc54d744c08465066e2b4a521f78224
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta<?xml version="1.0" encoding="UTF-8"?>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta<!DOCTYPE reference PUBLIC "-//OASIS//DTD DocBook V4.4//EN"
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta<reference>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta<title>SSSD Manual pages</title>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta<refentry>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="include/upstream.xml" />
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta <refmeta>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta <refentrytitle>sss_ssh_knownhostsproxy</refentrytitle>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta <manvolnum>1</manvolnum>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta </refmeta>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta <refnamediv id='name'>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta <refname>sss_ssh_knownhostsproxy</refname>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta <refpurpose>get OpenSSH host keys</refpurpose>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta </refnamediv>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta <refsynopsisdiv id='synopsis'>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta <cmdsynopsis>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta <command>sss_ssh_knownhostsproxy</command>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta <arg choice='opt'>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta <replaceable>options</replaceable>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta </arg>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta <arg choice='plain'><replaceable>HOST</replaceable></arg>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta <arg choice='opt'><replaceable>PROXY_COMMAND</replaceable></arg>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta </cmdsynopsis>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta </refsynopsisdiv>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta <refsect1 id='description'>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta <title>DESCRIPTION</title>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta <para>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta <command>sss_ssh_knownhostsproxy</command> acquires SSH host
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta public keys for host <replaceable>HOST</replaceable>, stores
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta them in a custom OpenSSH known_hosts file (see the
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta <quote>SSH_KNOWN_HOSTS FILE FORMAT</quote> section of
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta <citerefentry><refentrytitle>sshd</refentrytitle>
f8c5afe3ee8355fc81e44227f9ec078406a01cfbJan Cholasta <manvolnum>8</manvolnum></citerefentry> for more information)
f8c5afe3ee8355fc81e44227f9ec078406a01cfbJan Cholasta <filename>/var/lib/sss/pubconf/known_hosts</filename> and
f8c5afe3ee8355fc81e44227f9ec078406a01cfbJan Cholasta estabilishes connection to the host.
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta </para>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta <para>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta If <replaceable>PROXY_COMMAND</replaceable> is specified,
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta it is used to create the connection to the host instead of
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta opening a socket.
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta </para>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta <para>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta <citerefentry><refentrytitle>ssh</refentrytitle>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta <manvolnum>1</manvolnum></citerefentry> can be configured to
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta use <command>sss_ssh_knownhostsproxy</command> for host key
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta authentication by using the following directives for
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta <citerefentry><refentrytitle>ssh</refentrytitle>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta <manvolnum>1</manvolnum></citerefentry> configuration:
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta<programlisting>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan CholastaProxyCommand /usr/bin/sss_ssh_knownhostsproxy -p %p %h
3111c28041b732b98a7fb39ef6232257d086d670Jan CholastaGlobalKnownHostsFile /var/lib/sss/pubconf/known_hosts
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta</programlisting>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta </para>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta <para>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="include/experimental.xml" />
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta </para>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta </refsect1>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta <refsect1 id='options'>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta <title>OPTIONS</title>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta <variablelist remap='IP'>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta <varlistentry>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta <term>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta <option>-p</option>,<option>--port</option>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta <replaceable>PORT</replaceable>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta </term>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta <listitem>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta <para>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta Use port <replaceable>PORT</replaceable> to connect to the host.
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta By default, port 22 is used.
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta </para>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta </listitem>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta </varlistentry>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta <varlistentry>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta <term>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta <option>-d</option>,<option>--domain</option>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta <replaceable>DOMAIN</replaceable>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta </term>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta <listitem>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta <para>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta Search for host public keys in SSSD domain <replaceable>DOMAIN</replaceable>.
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta </para>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta </listitem>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta </varlistentry>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="include/param_help.xml" />
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta </variablelist>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta </refsect1>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta
544525ee1fc54d744c08465066e2b4a521f78224Stephen Gallagher <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="include/seealso.xml" />
544525ee1fc54d744c08465066e2b4a521f78224Stephen Gallagher
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta</refentry>
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta</reference>