Add timeout to SSH agent in Bash config

Signed-off-by: PandaCoderPL <git@pandacoderpl.anonaddy.me>
This commit is contained in:
PandaCoderPL 2021-11-22 00:58:07 +00:00
parent 9778c6c2d4
commit c50f672f75
Signed by: PandaCoderPL
GPG Key ID: 101E7BD8DF5C987B
3 changed files with 6 additions and 2 deletions

View File

@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [1.7.5] - 2021-11-22
### Added
- Timeout to SSH agent in [Bash Config](home/.bashrc)
## [1.7.4] - 2021-11-22
### Added
- Proxy for Lokinet to [SSH Config](home/.ssh/config)

View File

@ -1 +1 @@
1.7.4
1.7.5

View File

@ -1,7 +1,7 @@
# Tmux
if [[ -z "${TMUX}" ]]; then
if ! tmux has-session; then
eval $(ssh-agent)
eval $(ssh-agent -st 1h)
tmux new-session -n calculator bc -iq
else
tmux new-window