From 8399e42819e43611cd39663f28adfd80151c86f0 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 13 May 2022 08:51:56 +0200 Subject: gkleen@sif: ... --- accounts/gkleen@sif/default.nix | 2 ++ system-profiles/openssh/default.nix | 2 ++ user-profiles/yt-dlp.nix | 1 + 3 files changed, 5 insertions(+) diff --git a/accounts/gkleen@sif/default.nix b/accounts/gkleen@sif/default.nix index 2d93b94b..69c3369f 100644 --- a/accounts/gkleen@sif/default.nix +++ b/accounts/gkleen@sif/default.nix @@ -62,6 +62,8 @@ in { HostKeyAlgorithms +ssh-rsa PubkeyAcceptedAlgorithms +ssh-rsa ConnectTimeout 30 + PasswordAuthentication yes + KbdInteractiveAuthentication yes Match host *.mathinst.loc !host mathw0g.mathinst.loc !exec "nc -z -w 1 %h %p &>/dev/null" # ProxyCommand ${pkgs.socat}/bin/socat - SOCKS4A:127.0.0.1:%h:%p,socksport=8118 diff --git a/system-profiles/openssh/default.nix b/system-profiles/openssh/default.nix index 19bc46b7..47908682 100644 --- a/system-profiles/openssh/default.nix +++ b/system-profiles/openssh/default.nix @@ -54,6 +54,8 @@ in { extraConfig = '' Host * CASignatureAlgorithms sk-ssh-ed25519@openssh.com,ssh-ed25519,rsa-sha2-256,rsa-sha2-512 + PasswordAuthentication no + KbdInteractiveAuthentication no ''; }; diff --git a/user-profiles/yt-dlp.nix b/user-profiles/yt-dlp.nix index c7378716..dcba7fe2 100644 --- a/user-profiles/yt-dlp.nix +++ b/user-profiles/yt-dlp.nix @@ -14,6 +14,7 @@ --prefer-free-formats --embed-metadata --downloader ${pkgs.aria2}/bin/aria2c + --sponsorblock-mark all ''; }; } -- cgit v1.2.3