Add ForceCommand keyword to sshd_config, equivalent to the "command="
key option, man page entry and example in sshd_config.
Feedback & ok djm@, man page corrections & ok jmc@
+ - stevesk@cvs.openbsd.org 2006/07/20 15:26:15
+ [auth1.c serverloop.c session.c sshconnect2.c]
+ missed some needed #include <unistd.h> when KERBEROS5=no; issue from
+ massimo@cedoc.mo.it
20060713
- (dtucker) [auth-krb5.c auth-pam.c] Still more errno.h
-/* $OpenBSD: auth1.c,v 1.66 2006/03/25 13:17:01 djm Exp $ */
+/* $OpenBSD: auth1.c,v 1.67 2006/07/20 15:26:14 stevesk Exp $ */
/*
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
* All rights reserved
#include "includes.h"
+#include <sys/types.h>
+
+#include <unistd.h>
+
#include "xmalloc.h"
#include "rsa.h"
#include "ssh1.h"
-/* $OpenBSD: serverloop.c,v 1.139 2006/07/11 20:07:25 stevesk Exp $ */
+/* $OpenBSD: serverloop.c,v 1.140 2006/07/20 15:26:15 stevesk Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
#include <pwd.h>
#include <signal.h>
#include <termios.h>
+#include <unistd.h>
#include "xmalloc.h"
#include "packet.h"
-/* $OpenBSD: session.c,v 1.210 2006/07/19 13:07:10 dtucker Exp $ */
+/* $OpenBSD: session.c,v 1.211 2006/07/20 15:26:15 stevesk Exp $ */
/*
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
* All rights reserved
#include <sys/wait.h>
#include <sys/un.h>
+#include <arpa/inet.h>
+
#include <errno.h>
#include <grp.h>
#ifdef HAVE_PATHS_H
#endif
#include <pwd.h>
#include <signal.h>
-#include <arpa/inet.h>
+#include <unistd.h>
#include "ssh.h"
#include "ssh1.h"
-/* $OpenBSD: sshconnect2.c,v 1.156 2006/07/11 20:07:25 stevesk Exp $ */
+/* $OpenBSD: sshconnect2.c,v 1.157 2006/07/20 15:26:15 stevesk Exp $ */
/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
*
#include <sys/stat.h>
#include <errno.h>
+#include <unistd.h>
#include "openbsd-compat/sys-queue.h"