From 215d461d22ef0aee4a093a5ba2a653879b90dd43 Mon Sep 17 00:00:00 2001 From: artichoke Date: Mon, 28 Apr 2025 10:52:58 +0930 Subject: [PATCH] test --- README.md | 3 ++- ssh-agent.sh | 9 +++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100755 ssh-agent.sh diff --git a/README.md b/README.md index 9a4142c..4e67e20 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ # Weather Station Hub Board -This is a hub board that collects data from multiple sensors via RS485 and sends it to a server via LoRaWAN. \ No newline at end of file +This is a hub board that collects data from multiple sensors via RS485 and sends it to a server via LoRaWAN. +d diff --git a/ssh-agent.sh b/ssh-agent.sh new file mode 100755 index 0000000..428d0d3 --- /dev/null +++ b/ssh-agent.sh @@ -0,0 +1,9 @@ +#!/bin/bash +# +# Convert ssh-agent output to fish shell +# + +eval "$(ssh-agent)" >/dev/null + +echo "set SSH_AUTH_SOCK \"$SSH_AUTH_SOCK\"; export SSH_AUTH_SOCK" +echo "set SSH_AGENT_PID \"$SSH_AGENT_PID\"; export SSH_AGENT_PID"