ssh module: disable agent by default

This commit is contained in:
Franz Pletz 2017-06-15 19:27:01 +02:00
parent 2a24fdaee0
commit 994ffc01a0
No known key found for this signature in database
GPG key ID: 846FDED7792617B4
2 changed files with 10 additions and 1 deletions

View file

@ -104,6 +104,15 @@ rmdir /var/lib/ipfs/.ipfs
<literal>dataDir</literal>.
</para>
</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>

View file

@ -74,7 +74,7 @@ in
startAgent = mkOption {
type = types.bool;
default = true;
default = false;
description = ''
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