From 6eb3aeb9333d128ea09247ed1a8608d3f6015151 Mon Sep 17 00:00:00 2001 From: chris Date: Sun, 22 Feb 2026 23:27:49 +0000 Subject: [PATCH] Update .local/bin/setup/setupssh --- .local/bin/setup/setupssh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.local/bin/setup/setupssh b/.local/bin/setup/setupssh index e39f089..e84bcf0 100755 --- a/.local/bin/setup/setupssh +++ b/.local/bin/setup/setupssh @@ -5,7 +5,7 @@ echo "Setting up SSH" # Extract the login details from enpass LABS=$(enpasscli -vault="$HOME/Documents/Enpass/Vaults/primary" -sort show "Scarif: Labs" 2>&1) LABSUN=$(echo "$LABS" | grep -Po "(?<=login: )\w+") -LABSPW=$(echo "$LABS" | grep -Po "(?<=password: ).+(?=\")") +LABSPW=$(enpasscli -vault="$HOME/Documents/Enpass/Vaults/primary" -sort pass "Scarif: Labs") SSHPATH="$HOME/.ssh/id_ed25519" # The path to the SSH key file TITLE="$USER@$(cat /etc/hostname)" # The title for the SSH key