summary refs log tree commit diff
path: root/nixos/modules/programs/ssh.nix
Commit message (Collapse)AuthorAge
* Fix setting programs.ssh.setXAuthLocationEelco Dolstra2016-11-21
| | | | | | | | The configuration { services.openssh.enable = true; services.openssh.forwardX11 = false; } caused programs.ssh.setXAuthLocation to be set to false, which was not the intent. The intent is that programs.ssh.setXAuthLocation should be automatically enabled if needed or if xauth is already available.
* Let services.openssh.forwardX11 imply programs.ssh.setXAuthLocationEelco Dolstra2016-09-05
|
* ssh: Fix support for ssh-dss host keysEelco Dolstra2016-04-01
|
* nixos manuals: bring back package referencesVladimír Čunát2016-02-03
| | | | | | | | This reverts most of 89e983786a, as those references are sanitized now. Fixes #10039, at least most of it. The `sane` case wasn't fixed, as it calls a *function* in pkgs to get the default value.
* Revert "Merge #12357: nixos docs: show references to packages"Vladimír Čunát2016-02-03
| | | | | | The PR wasn't good enough yet. This reverts commit b2a37ceeea8c38ec71447f8dae1e6890a8cf982d, reversing changes made to 7fa9a1abce623aaf18b22f5dca3fc8a44a494e8d.
* Merge #12357: nixos docs: show references to packagesVladimír Čunát2016-02-03
|\
| * nixos manuals: bring back package referencesVladimír Čunát2016-01-13
| | | | | | | | | | | | | | | | This reverts most of 89e983786a, as those references are sanitized now. Fixes #10039, at least most of it. The `sane` case wasn't fixed, as it calls a *function* in pkgs to get the default value.
* | openssh: Enable DSA host/client keysEelco Dolstra2016-02-01
| | | | | | | | | | | | This applies a patch from Fedora to make HostKeyAlgorithms do the right thing, fixing the issue described in 401782cb678d2e28c0f7f2d40c6421624f410148.
* | nixos-ssh: set SSH_ASKPASS globally and not just on interactive shellsReno Reckling2016-01-24
| | | | | | | | | | | | | | | | | | If we limit SSH_ASKPASS to interactive shells, users are unable to trigger the ssh-passphrase dialog from their desktop environment autostart scripts. Usecase: I call ssh-add during my desktop environment autostart and want to have the passphrase dialog immediately after startup. For this to work, SSH_ASKPASS needs to be propagated properly on non-interactive shells.
* | Add missing 'type', 'defaultText' and 'literalExample' in module definitionsThomas Strobel2016-01-17
|/ | | | | | - add missing types in module definitions - add missing 'defaultText' in module definitions - wrap example with 'literalExample' where necessary in module definitions
* Manual: Remove store path referencesEelco Dolstra2015-09-24
|
* programs.ssh.knownHosts: Use attribute nameEelco Dolstra2015-08-27
| | | | | | | | | | This allows writing: programs.ssh.knownHosts."10.1.2.3".publicKey = "bar"; instead of programs.ssh.knownHosts = [ { hostNames = [ "10.1.2.3" ]; publicKey = "bar"; } ];
* programs.ssh.knownHosts: Use submoduleEelco Dolstra2015-08-27
|
* Rename services.openssh.knownHosts -> programs.ssh.knownHostsEelco Dolstra2015-08-27
| | | | This option configures the SSH client, not the server.
* Revert "openssh: 6.9p1 -> 7.0p1"Eelco Dolstra2015-08-20
| | | | | | | | | | | | | | | This reverts commit a8eb2a6a81524f3be0c8886f6d06090b50b0a513. OpenSSH 7.0 is causing too many interoperability problems so soon before the 15.08 release. For instance, it causes NixOps EC2 initial deployments to fail with "REMOTE HOST IDENTIFICATION HAS CHANGED". This is because the client knows the server's ssh-dss host key, but this key is no longer accepted by default. Setting "HostKeyAlgorithms" to "+ssh-dss" does not work because it causes ssh-dss to be ordered after "ecdsa-sha2-nistp521", which the server also offers. (Normally, ssh prioritizes host key algorithms for which the client has a known host key, but not if you set HostKeyAlgorithms.)
* openssh: Re-enable DSA client keysEelco Dolstra2015-08-18
| | | | This was broken by a8eb2a6a81524f3be0c8886f6d06090b50b0a513.
* Some more type cleanupEelco Dolstra2015-06-15
|
* ssh: make askPassword an optionThomas Tuegel2015-03-11
| | | | | | By making askPassword an option, desktop environment modules can override the default x11_ssh_askpassword with their own equivalent for better integration. For example, KDE 5 uses plasma5.ksshaskpass instead.
* ssh-agent: Fix asking for confirmation via $SSH_ASKPASSEelco Dolstra2015-02-25
| | | | | | | This was lost back in ffedee6ed523864dd5f871ffd85e3c2099d579a2. Getting this to work is slightly tricky because ssh-agent runs as a user unit, and so doesn't know the user's $DISPLAY.
* ssh-agent: Don't have a timeout by defaultEelco Dolstra2014-12-18
| | | | | | | | IMHO, having a short timeout (1h) defeats the point of using ssh-agent, which is not to have to retype passphrases all the time. Of course, users who want timeouts can set programs.ssh.agentTimeout. This restores the 14.04 behaviour.
* ssh-agent: use types.nullOrAristid Breitkreuz2014-11-15
|
* ssh-agent: make key timeout optionalAristid Breitkreuz2014-11-15
|
* limit the amount of time ssh-agent keeps a key (default: 1h)Aristid Breitkreuz2014-11-15
|
* nixos/ssh: Allow user to configure the package that provides ssh/sshdWilliam A. Kennington III2014-09-11
|
* ssh-agent: TweaksEelco Dolstra2014-04-18
|
* Start ssh-agent as a user unitEelco Dolstra2014-04-18
| | | | | | | | | | | | | | | | | | This has some advantages: * You get ssh-agent regardless of how you logged in. Previously it was only started for X11 sessions. * All sessions of a user share the same agent. So if you added a key on tty1, it will also be available on tty2. * Systemd will restart ssh-agent if it dies. * $SSH_AUTH_SOCK now points to the /run/user/<uid> directory, which is more secure than /tmp. For bonus points, we should patch ssh-agent to support socket-based activation...
* Rewrite ‘with pkgs.lib’ -> ‘with lib’Eelco Dolstra2014-04-14
| | | | | | | | Using pkgs.lib on the spine of module evaluation is problematic because the pkgs argument depends on the result of module evaluation. To prevent an infinite recursion, pkgs and some of the modules are evaluated twice, which is inefficient. Using ‘with lib’ prevents this problem.
* ssh: Don't set xauth if not running xserverWilliam A. Kennington III2014-04-03
|
* Add lots of missing option typesEelco Dolstra2013-10-30
|
* Fix an assertion set in the wrong placeEelco Dolstra2013-10-25
|
* Move all of NixOS to nixos/ in preparation of the repository mergeEelco Dolstra2013-10-10