1
0
Fork 0

Merge pull request #5 from SeanSith/fix/ssh_for_macos_sierra

[FIX] Enable SSH module for macOS Sierra
pull/1130/head
Federico Ariel Castagnini 8 years ago committed by GitHub
commit 449565254a

@ -3,9 +3,11 @@ SSH
Provides for an easier use of [SSH][1] by setting up [ssh-agent][2]. Provides for an easier use of [SSH][1] by setting up [ssh-agent][2].
This module is disabled on Mac OS X due to custom Apple SSH support rendering it This module is disabled on Mac OS X versions less than 10.12 (Sierra) due to
unnecessary. Use `ssh-add -K` to store identities in Keychain; they will be custom Apple SSH support rendering it unnecessary. Use `ssh-add -K` to store
added to `ssh-agent` automatically and persist between reboots. identities in Keychain; they will be added to `ssh-agent` automatically and
persist between reboots. This support was removed in macOS Sierra to [re-align
behavior with mainstream OpenSSH](https://openradar.appspot.com/27348363).
Settings Settings
-------- --------

@ -6,7 +6,7 @@
# #
# Return if requirements are not found. # Return if requirements are not found.
if [[ "$OSTYPE" == darwin* ]] || (( ! $+commands[ssh-agent] )); then if [[ `uname -s` == "Darwin" ]] && [[ `uname -r | awk -F. '{print $1}'` -le 15 ]] || (( ! $+commands[ssh-agent] )); then
return 1 return 1
fi fi

Loading…
Cancel
Save