Loading nixos/modules/services/networking/tmate-ssh-server.nix +3 −3 Original line number Diff line number Diff line Loading @@ -81,12 +81,12 @@ in [ (pkgs.writeShellApplication { name = "tmate-client-config"; runtimeInputs = with pkgs;[ openssh coreutils sd ]; runtimeInputs = with pkgs;[ openssh coreutils ]; text = '' RSA_SIG="$(ssh-keygen -l -E SHA256 -f "${keysDir}/ssh_host_rsa_key.pub" | cut -d ' ' -f 2)" ED25519_SIG="$(ssh-keygen -l -E SHA256 -f "${keysDir}/ssh_host_ed25519_key.pub" | cut -d ' ' -f 2)" sd -sp '@ed25519_fingerprint@' "$ED25519_SIG" ${tmate-config} | \ sd -sp '@rsa_fingerprint@' "$RSA_SIG" sed "s|@ed25519_fingerprint@|$ED25519_SIG|g" ${tmate-config} | \ sed "s|@rsa_fingerprint@|$RSA_SIG|g" ''; }) ]; Loading Loading
nixos/modules/services/networking/tmate-ssh-server.nix +3 −3 Original line number Diff line number Diff line Loading @@ -81,12 +81,12 @@ in [ (pkgs.writeShellApplication { name = "tmate-client-config"; runtimeInputs = with pkgs;[ openssh coreutils sd ]; runtimeInputs = with pkgs;[ openssh coreutils ]; text = '' RSA_SIG="$(ssh-keygen -l -E SHA256 -f "${keysDir}/ssh_host_rsa_key.pub" | cut -d ' ' -f 2)" ED25519_SIG="$(ssh-keygen -l -E SHA256 -f "${keysDir}/ssh_host_ed25519_key.pub" | cut -d ' ' -f 2)" sd -sp '@ed25519_fingerprint@' "$ED25519_SIG" ${tmate-config} | \ sd -sp '@rsa_fingerprint@' "$RSA_SIG" sed "s|@ed25519_fingerprint@|$ED25519_SIG|g" ${tmate-config} | \ sed "s|@rsa_fingerprint@|$RSA_SIG|g" ''; }) ]; Loading