In inetd mode use the socket on stdin for input and output.

Change-Id: I3d8f8c8b06b7c9032bf0bf7ef317bd2422bcd1ce
diff --git a/sshd.c b/sshd.c
index df694fe..9b3caab 100644
--- a/sshd.c
+++ b/sshd.c
@@ -993,7 +993,12 @@
 		}
 	} else {
 		*sock_in = dup(STDIN_FILENO);
+#ifdef __Fuchsia__
+                // Currently in Fuchsia the socket only comes on stdin.
+		*sock_out = dup(STDIN_FILENO);
+#else
 		*sock_out = dup(STDOUT_FILENO);
+#endif // __Fuchsia__
 	}
 	/*
 	 * We intentionally do not close the descriptors 0, 1, and 2