DataDog / yubikey

YubiKey at Datadog
MIT License
495 stars 36 forks source link

Multiple fix on ssh.sh #37

Closed daisukixci closed 4 years ago

daisukixci commented 4 years ago

Be more robust according to shell used by the user. Fix the issue that when you don't use fish, the rc file is not correctly setted to receive SSH_AUTH_SOCK. Remove unnecessary ssh-add (was for debug) Add control on SSH_AUTH_SOCK setting, if not correctly defined, return 1 and log