[sshd.8 sshd.c]
     implement the -e option into sshd:
      -e      When this option is specified, sshd will send the output to the
              standard error instead of the system log.
     markus@ OK.
This commit is contained in:
Ben Lindstrom 2001-04-11 23:10:09 +00:00
parent 6fa9d10ed5
commit 9fce9f02e8
3 changed files with 18 additions and 5 deletions

View File

@ -18,6 +18,12 @@
- markus@cvs.openbsd.org 2001/04/11 13:56:13 - markus@cvs.openbsd.org 2001/04/11 13:56:13
[channels.c ssh.c] [channels.c ssh.c]
https-connect and socks5 support. i feel so bad. https-connect and socks5 support. i feel so bad.
- lebel@cvs.openbsd.org 2001/04/11 16:25:30
[sshd.8 sshd.c]
implement the -e option into sshd:
-e When this option is specified, sshd will send the output to the
standard error instead of the system log.
markus@ OK.
20010410 20010410
- OpenBSD CVS Sync - OpenBSD CVS Sync
@ -5011,4 +5017,4 @@
- Wrote replacements for strlcpy and mkdtemp - Wrote replacements for strlcpy and mkdtemp
- Released 1.0pre1 - Released 1.0pre1
$Id: ChangeLog,v 1.1099 2001/04/11 23:08:17 mouring Exp $ $Id: ChangeLog,v 1.1100 2001/04/11 23:10:09 mouring Exp $

8
sshd.8
View File

@ -34,7 +34,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\" .\"
.\" $OpenBSD: sshd.8,v 1.113 2001/04/10 09:13:22 itojun Exp $ .\" $OpenBSD: sshd.8,v 1.114 2001/04/11 16:25:31 lebel Exp $
.Dd September 25, 1999 .Dd September 25, 1999
.Dt SSHD 8 .Dt SSHD 8
.Os .Os
@ -43,7 +43,7 @@
.Nd OpenSSH ssh daemon .Nd OpenSSH ssh daemon
.Sh SYNOPSIS .Sh SYNOPSIS
.Nm sshd .Nm sshd
.Op Fl diqD46 .Op Fl deiqD46
.Op Fl b Ar bits .Op Fl b Ar bits
.Op Fl f Ar config_file .Op Fl f Ar config_file
.Op Fl g Ar login_grace_time .Op Fl g Ar login_grace_time
@ -263,6 +263,10 @@ When this option is specified
will not detach and does not become a daemon. will not detach and does not become a daemon.
This allows easy monitoring of This allows easy monitoring of
.Nm sshd . .Nm sshd .
.It Fl e
When this option is specified,
.Nm
will send the output to the standard error instead of the system log.
.It Fl V Ar client_protocol_id .It Fl V Ar client_protocol_id
SSH-2 compatibility mode. SSH-2 compatibility mode.
When this option is specified When this option is specified

7
sshd.c
View File

@ -40,7 +40,7 @@
*/ */
#include "includes.h" #include "includes.h"
RCSID("$OpenBSD: sshd.c,v 1.191 2001/04/05 10:42:57 markus Exp $"); RCSID("$OpenBSD: sshd.c,v 1.192 2001/04/11 16:25:30 lebel Exp $");
#include <openssl/dh.h> #include <openssl/dh.h>
#include <openssl/bn.h> #include <openssl/bn.h>
@ -565,7 +565,7 @@ main(int ac, char **av)
initialize_server_options(&options); initialize_server_options(&options);
/* Parse command-line arguments. */ /* Parse command-line arguments. */
while ((opt = getopt(ac, av, "f:p:b:k:h:g:V:u:dDiqQ46")) != -1) { while ((opt = getopt(ac, av, "f:p:b:k:h:g:V:u:dDeiqQ46")) != -1) {
switch (opt) { switch (opt) {
case '4': case '4':
IPv4or6 = AF_INET; IPv4or6 = AF_INET;
@ -590,6 +590,9 @@ main(int ac, char **av)
case 'D': case 'D':
no_daemon_flag = 1; no_daemon_flag = 1;
break; break;
case 'e':
log_stderr = 1;
break;
case 'i': case 'i':
inetd_flag = 1; inetd_flag = 1;
break; break;