added status for loaded ssh keys

This commit is contained in:
Jonas Forsberg
2021-12-14 08:55:35 +01:00
parent 4b82d2b12e
commit 0df9818314
2 changed files with 6 additions and 11 deletions

11
.bashrc
View File

@@ -5,17 +5,6 @@ export HISTFILESIZE=-1
export EDITOR="vim"
# used by systemd user unit file ssh-agent in ~/.config/systemd/user/ssh-agent.service
#[Unit]
#Description=SSH key agent
#
#[Service]
#Type=simple
#Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket
#ExecStart=/usr/bin/ssh-agent -D -a $SSH_AUTH_SOCK
#
#[Install]
#WantedBy=default.target
#
#Also add "AddKeysToAgent yes" to ~/.ssh/config
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"