added status for loaded ssh keys
This commit is contained in:
11
.bashrc
11
.bashrc
@@ -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"
|
||||
|
||||
|
Reference in New Issue
Block a user