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
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