Merge pull request #26605 from mayflower/disable-ssh-agent

ssh module: disable agent by default
This commit is contained in:
Franz Pletz 2017-06-18 22:03:59 +02:00 committed by GitHub
commit ba1330b12e
2 changed files with 10 additions and 1 deletions

View File

@ -104,6 +104,15 @@ rmdir /var/lib/ipfs/.ipfs
<literal>dataDir</literal>. <literal>dataDir</literal>.
</para> </para>
</listitem> </listitem>
<listitem>
<para>
The <literal>ssh-agent</literal> user service is not started by default
anymore. Use <literal>programs.ssh.startAgent</literal> to enable it if
needed. There is also a new <literal>programs.gnupg.agent</literal>
module that creates a <literal>gpg-agent</literal> user service. It can
also serve as a SSH agent if <literal>enableSSHSupport</literal> is set.
</para>
</listitem>
</itemizedlist> </itemizedlist>

View File

@ -74,7 +74,7 @@ in
startAgent = mkOption { startAgent = mkOption {
type = types.bool; type = types.bool;
default = true; default = false;
description = '' description = ''
Whether to start the OpenSSH agent when you log in. The OpenSSH agent Whether to start the OpenSSH agent when you log in. The OpenSSH agent
remembers private keys for you so that you don't have to type in remembers private keys for you so that you don't have to type in