From 652cdc0ab93940d57b7602e6a0684ebf5aeda52d Mon Sep 17 00:00:00 2001 From: nyxerinys Date: Mon, 29 Jun 2026 11:41:23 -0500 Subject: [PATCH] fix ssh --- modules/k3s/images/rsshfs-client.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/k3s/images/rsshfs-client.nix b/modules/k3s/images/rsshfs-client.nix index a577f5f..e6a1c6f 100644 --- a/modules/k3s/images/rsshfs-client.nix +++ b/modules/k3s/images/rsshfs-client.nix @@ -5,7 +5,7 @@ let Host="$1" LFolder="$2" RFolder="$3" - SSHCMD="ssh -o "StrictHostKeyChecking=no,UserKnownHostsFile=/dev/null" -q -S /tmp/sshfs.sock" + SSHCMD="ssh -o \"StrictHostKeyChecking=no,UserKnownHostsFile=/dev/nul\" -q -S /tmp/sshfs.sock" TmuxName="rsshfs" # SETUP @@ -76,7 +76,7 @@ let echo "[ Reverse port opened on $PORT ]" echo "[ Pushing local $LFolder to the remote $RFolder ]" $SSHCMD null "if [[ ! -d $RFolder ]]; then mkdir -p $RFolder; fi" - $SSHCMD null "sshfs --run \"sshfs -o "StrictHostKeyChecking=no,UserKnownHostsFile=/dev/null" -p $PORT localhost:$LFolder $RFolder\"" + $SSHCMD null "sshfs -o \"StrictHostKeyChecking=no,UserKnownHostsFile=/dev/null\" -p $PORT localhost:$LFolder $RFolder" pause