mirror of
https://github.com/nikdoof/dotfiles.git
synced 2026-01-30 10:58:14 +00:00
[shell-common] Bump SSH key timeout to something sensible
This commit is contained in:
@@ -29,7 +29,7 @@ function update-dotfiles() {
|
|||||||
# Wrapper around ssh-add to easily add SSH keys with a timeout
|
# Wrapper around ssh-add to easily add SSH keys with a timeout
|
||||||
# Usage: add-sshkey [key_name]
|
# Usage: add-sshkey [key_name]
|
||||||
function add-sshkey() {
|
function add-sshkey() {
|
||||||
TIMEOUT="2h"
|
TIMEOUT="8h"
|
||||||
NAME=$1
|
NAME=$1
|
||||||
|
|
||||||
if [ -z "$NAME" ]; then
|
if [ -z "$NAME" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user