Skip to content

Instantly share code, notes, and snippets.

@denji
Last active January 2, 2016 06:39
Show Gist options
  • Save denji/ce3c628d7def7f6ea490 to your computer and use it in GitHub Desktop.
Save denji/ce3c628d7def7f6ea490 to your computer and use it in GitHub Desktop.
osxfuse-sshfs-2.4.1
diff --git a/sshfs.c b/sshfs.c
index bf65aea..ead09eb 100644
--- a/sshfs.c
+++ b/sshfs.c
@@ -23,7 +23,7 @@
#include <string.h>
#include <stdint.h>
#include <errno.h>
-#if !__APPLE__
+#ifndef __APPLE__
# include <semaphore.h>
#endif
#include <pthread.h>
@@ -305,6 +305,8 @@ static const char *ssh_opts[] = {
"ConnectTimeout",
"ControlMaster",
"ControlPath",
+ "ForwardAgent",
+ "ForwardX11",
"GlobalKnownHostsFile",
"GSSAPIAuthentication",
"GSSAPIDelegateCredentials",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment