Configure SSH Agent location. On most systems this will require a

systemd user unit to start the SSH agent.
This commit is contained in:
Hans Goor 2024-10-24 00:57:21 +02:00
parent 318848c4dd
commit 194c9d6982
Signed by: eyedevelop
SSH key fingerprint: SHA256:Td89veptDEwCV8J3fjqnknNk7SbwzedYhauyC2nFBYg
3 changed files with 5 additions and 0 deletions

View file

@ -0,0 +1 @@
set -Ux SSH_AUTH_SOCK "$XDG_RUNTIME_DIR/ssh-agent.socket"

View file

@ -1,5 +1,6 @@
# This file contains fish universal variable definitions.
# VERSION: 3.0
SETUVAR --export SSH_AUTH_SOCK:/run/user/1000/ssh\x2dagent\x2esocket
SETUVAR --export WORKSPACE_DIR:/home/eyedevelop/spaces/workspace
SETUVAR __fish_initialized:3400
SETUVAR fish_color_autosuggestion:brblack

View file

@ -0,0 +1,3 @@
#!/bin/bash
export SSH_AUTH_SOCK="${XDG_RUNTIME_DIR}/ssh-agent.socket"