ssh: start ssh-agent and auto add keys to agent

This commit is contained in:
Guilherme Rugai Freire 2021-12-19 00:22:37 -03:00
parent 0346869cc7
commit d97254fc06
No known key found for this signature in database
GPG Key ID: 0F9FE41723A8A297
2 changed files with 4 additions and 0 deletions

View File

@ -7,6 +7,9 @@
# \____|_| \_\_| |_| \___|_|_| \___| https://github.com/GRFreire
#
# Start ssh-agent
eval `ssh-agent -s` > /dev/null
### Default programs ###
export EDITOR="nvim"
export READER="zathura"

1
.ssh/config Normal file
View File

@ -0,0 +1 @@
AddKeysToAgent yes